When to Minify JSON (and When Pretty-Printed Is Better)
JSON can be formatted two very different ways, and which one you want depends entirely on who — or what — is reading it next. Pretty-printed JSON is for humans. Minified JSON is for machines and bandwidth. Using the wrong one in the wrong place either wastes space or wastes your time debugging. What Minifying […]