How it works
The standard JavaScript parser validates syntax. The formatter then serializes with two spaces, four spaces or no extra whitespace. Comments and trailing commas are not valid JSON.
JSON.parse(input) → JSON.stringify(value, indentation)
Try the example
The starter inputs above produce:
{
"project": "ToolNuvilo",
"tools": 20,
"free": true
}Change the inputs to match your own situation. The result is an estimate or text transformation, not a substitute for reviewing your source data.