JSON Minify
Remove JSON layout whitespace while checking an exact integer and a string with two spaces.
Remove JSON layout whitespace while checking an exact integer and a string with two spaces.
How to use
- Paste the sample containing the long id and quoted label.
- Minify the text and copy the compact output without parsing it elsewhere.
- Compare the integer digits and the characters inside the quotes with the input.
Worked example
Input
{
"id": 9007199254740993,
"label": "two spaces"
}Expected result
{"id":9007199254740993,"label":"two spaces"}Check the result
The output must preserve 9007199254740993 and the two spaces in two spaces.