
Why JSON Has No Comments and What People Do Instead
JSON has no comment syntax by design, so a // note fails in every parser tested. What people do instead: _comment keys, $comment, JSONC, JSON5 and YAML.
Tag
59 posts

JSON has no comment syntax by design, so a // note fails in every parser tested. What people do instead: _comment keys, $comment, JSONC, JSON5 and YAML.

One DuckDB statement turned a 130 MB CSV into a 34 MB Parquet file; typed columns, dictionary encoding and min/max statistics explain the faster queries.

A tested beginner guide to XML: where you will meet it in data work, what it does better than JSON, how it is structured, and the first checks to run.

See what an XLSX workbook really contains, from cell types and shared strings to dates, formulas, styles and limits, and what each part means for your data.

The JSON grammar fits on a page, and parsers still disagree on trailing commas, NaN, duplicate keys, big numbers and more. A 26-case test across five parsers.

Documents with inline markup, schemas that partners must honor, signatures and long-lived standards keep XML in use. A checklist of five situations.

The same 33 scalar values loaded by a 1.1 parser and a 1.2 parser: booleans, octal, base 60 and floats. Which libraries implement which, and how to stay safe.

Three XML files with the same meaning gave three different checksums. Canonical XML (C14N) fixes attribute order and quoting, but not whitespace.

Six ways to write null in YAML, how they differ from the empty string, and what a key with no value, an empty list and an absent key mean to your code.

How two people editing the same Excel file lose each other's changes, what co-authoring and locks do about it, and how a database prevents lost updates.

How YAML uses spaces to build structure, why a tab is rejected, and how one extra space turns a sibling into a child. Real parser output for each case.

Query XML with XQuery in BaseX: for, let, where, order by and return, group by with exact decimals, and element constructors, on two sample files.