Guides and comparisons

Written to be useful to someone deciding between two tools, which means saying where the other one is better.

AstralJSON vs JSONLint

JSONLint is the classic validator. AstralJSON validates in the browser and adds diffing and conversion. Where each one fits.

· 5 min read

Why is my JSON invalid?

A parser error points at a character, not at the mistake. The eight things that actually break JSON, and how to read the line number you are given.

· 7 min read

How to convert nested JSON to CSV

CSV is flat and JSON is a tree. What flattening actually does to nested objects and arrays, and which choice you are making when you pick a converter.

· 7 min read

NDJSON vs JSON: what is the difference?

NDJSON vs JSON in one line: JSON is one document, NDJSON is one JSON value per line. Format, example, comparison table and when to use each.

· 6 min read

How to compare two JSON files

A text diff of JSON is mostly noise from key order and formatting. What a structural comparison does differently, and which differences actually matter.

· 6 min read

Converting CSV to JSON

Every CSV value is text, so converting to JSON means deciding what is a number, a boolean or a nested field. What a converter actually does with your headers and cells.

· 6 min read

Converting JSON to XML

XML keeps the nesting JSON already has, unlike CSV. What changes instead is the root element, how arrays repeat, and which keys are valid tag names.

· 6 min read