JSON formatter
Turn a compact JSON document into readable, indented output while keeping your original source for comparison.
Worked input and output
Input
{"name":"Ada","roles":["editor","reader"]}Output
{
"name": "Ada",
"roles": [
"editor",
"reader"
]
}The two-space example adds layout whitespace. The two array items remain in their original order.