JSON Config Object Example

JSON Config Object example with formatted output. Learn JSON syntax with practical examples.

Open JSON Formatter →

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);

Related Tools