JSON Config Object
Here's an example of a json config object:
Minified
{"debug":false,"maxRetries":3,"timeout":5000}
Formatted
{
"debug": false,
"maxRetries": 3,
"timeout": 5000
}
JavaScript Usage
// Parse JSON
const data = JSON.parse('{"debug":false,"maxRetries":3,"timeout":5000}');
// Stringify with formatting
JSON.stringify(data, null, 2);