What JSON formatting accomplishes
Minified JSON removes all unnecessary whitespace to save bytes on the wire. That efficiency makes production logs and API responses hard to read during debugging. A formatter expands the same data tree with indentation and line breaks so humans can scan nested structures.
Formatting is a reversible transform when you only change whitespace. The parsed values remain identical, which makes it safe for inspection and documentation without altering behavior in downstream systems.
Teams often format before code review so pull requests show logical diffs on property changes instead of one long unreadable line.