Add a documentation page on JSON variants

Add features/parsing/json_variants.md, which lists formats related to JSON
and how much of each the library supports: JSONC, JWCC/HuJSON, JSON5,
configuration languages such as Hjson and HOCON, JSON Lines/NDJSON,
concatenated JSON, JSON text sequences (RFC 7464), I-JSON (RFC 7493), the
JSON Canonicalization Scheme (RFC 8785), NaN/Infinity, and conventions on
top of JSON. Link it from the parsing overview, the features index, the
comments, trailing commas and JSON Lines pages, and the ecosystem page.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann committed 2026-11-24 10:02:13 +01:00
1 parent 322063822f
commit 91a03caa72
8 files changed
+194 -2

No files matched your search

+1
View File
@@ -146,6 +146,7 @@ nav:
- Parsing:
- features/parsing/index.md
- features/parsing/json_lines.md
- features/parsing/json_variants.md
- features/parsing/large_and_partial_input.md
- features/parsing/parse_exceptions.md
- features/parsing/parser_callbacks.md