Formula and units
A JSON formatter parses a text document according to the JSON grammar, then serializes the parsed value with indentation. Formatting changes whitespace and line breaks; it does not validate an application schema, API contract or business rules.
Worked example
The compact object {"name":"Mina","active":true} can be displayed with each property on its own line. A trailing comma or comment is invalid in standard JSON and should produce a parse error.
Assumptions and limits
Check key names, data types, required fields and duplicate-key behavior separately; parsers may keep only one value for repeated keys. Do not paste passwords, access tokens or private records into online tools. JSON standard: https://www.rfc-editor.org/rfc/rfc8259