To display a minified JSON file or a minified JSON server response in a more readable format, select the Pretty-print checkbox.
When you open a JSON file or view a JSON HTTP server response in Microsoft Edge, the content is initially displayed as-is:
If the JSON content has been minified, with its entire content on a single line with empty spaces removed, the JSON is initially displayed in a dense format, wrapped to the window.
If the JSON was formatted with line breaks and indentation, the JSON is displayed as formatted.
To format a minified JSON file or server response:
Open a .json
file that's minified, such as 128KB-min.json, or go to a URL that returns a minified JSON response.
To open a local JSON file, press Ctrl+O on Windows and Linux, or Command+O on macOS, and then select a JSON file.
The minified JSON is initially displayed in a dense format, wrapped to the window:
Select the Pretty-print checkbox:
The JSON file or response is displayed in a readable format, with indentation and line wrapping based on the JSON object content.
Selecting or clearing the Pretty-print checkbox doesn't change the JSON file itself; only how it is displayed.
See also.json
file..json
file.Was this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4