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

  1. Paste the sample containing the long id and quoted label.
  2. Minify the text and copy the compact output without parsing it elsewhere.
  3. 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.

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies