Implement a JSON Parser

Problem

Implement a simplified JSON parser.

Given a string representing a JSON value, parse it and print an equivalent compact JSON string with unnecessary whitespace removed. If the input is inva...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: