A JSON task can be a syntax problem, a structure problem, or a conversion problem. Start by deciding what you need to preserve. Formatting should leave values alone, while a schema check can reject a document that is perfectly valid JSON. Converting into CSV or XML changes the shape of the data, so inspect arrays, missing keys, and numeric values before copying the result into another system.
For a response you cannot read, format it first and then open the tree view to locate nested fields. Use JSONPath when you need a repeatable expression rather than a one-time visual inspection. When comparing two versions, choose semantic diff for changes in values; use the patch generator if you need RFC 6902 operations that another service can apply. Large files call for the read-only viewer instead of placing an entire export in a normal editor.
Choose the right tool
- JSON Validator: Check grammar before diagnosing a failing API request; a syntax check says nothing about required application fields.
- JSON Schema Validator: Supply a schema when types, required keys, or allowed values matter to your contract.
- JSON to CSV: Move rows into a spreadsheet after checking how missing and nested properties become cells.
A practical workflow
Suppose an API export needs to reach a spreadsheet. Paste a representative portion into the JSON Validator to catch truncation or stray commas. Use JSON Tree Viewer to see whether records sit at the root or inside a property, then convert the relevant array with JSON to CSV. Inspect the CSV headers against all records, especially if later records contain fields missing from the first one. If the export is too large for ordinary editing, inspect its structure with Large JSON Viewer before making a smaller conversion sample.
Things to check
- Ordinary JavaScript parsing rounds integers outside its safe range. Check the formatter’s literal-preservation behavior before using the result in code that calls JSON.parse. See JSON Formatter.
- Object key order can be ignored in a semantic comparison, but array position still matters. An insertion near the front can affect many indexed paths. See JSON Diff.
- A flattened key can collide with an original key containing the chosen delimiter. Review that risk before round-tripping unfamiliar objects. See JSON Flatten.