Minify a spaced-out object
- JSON
- { "a" : [ 1 , 2 ] }
- Indentation
- Minify
- Sort object keys A to Z
- No
Result Formatted JSON: {"a":[1,2]}
Objects: 1
Arrays: 1
Keys: 1
Scalar values: 2
Nesting depth: 2
Output lines: 1
Input characters: 19
Output characters: 11
- Parsed 19 characters as JSON (RFC 8259): 1 objects, 1 arrays, 2 scalar values.
- Wrote the result on one line with no whitespace: 11 characters.
All whitespace between tokens is dropped, leaving 11 characters with the same meaning.