โ† BrowserStack questions

JSON Prettier

Filed under BrowserStack

The question

Write a program that takes an unformatted, single-line JSON string from standard input and outputs a prettified, formatted version of the JSON using two spaces per indentation level.

No write-up yet. Related questions below have one.

Related BrowserStack questions

Collected from public candidate posts and coding forums. Updated Nov 2026.