Make structure visible before editing
Compact JSON can be valid but difficult to scan. Pretty-print adds consistent whitespace so object boundaries, arrays, property names, and values are easier to review without changing the underlying JSON data.

Apply JSON pretty-print
- Open the intended JSON document and retain an unchanged copy when the source is important.
- Run the documented JSON | Pretty-print JSON command.
- Inspect objects, arrays, escaped text, and the current selection before saving.
- Run the required syntax or schema validation separately; readable formatting does not prove validity.
The legacy article documents Ctrl+Shift+P and configurable shortcuts. Confirm the current menu label, shortcut, indentation settings, and selection behavior in the release candidate.
Expect formatting to follow content
The established formatter can keep short primitive arrays on one line while breaking longer content across lines. That adaptive presentation is useful for reading, but exact line wrapping can vary with content and release behavior. Compare data rather than requiring byte-for-byte whitespace.
Return to the value you were editing
The legacy workflow records the selected property in navigation history and documents backward and forward navigation commands. Verify those commands and shortcuts before publication, especially when formatting a large or deeply nested document.
Continue the formatting workflow
See JSON prettify for interactive, file, CLI, and current Web API access, choose spaces for indentation, or follow the pretty-print Help topic.
