Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2026-06-11 16:23:40 +03:00
parent 9bc96a9396
commit 5d0beb3bc7

View File

@ -15,11 +15,11 @@ Data not stored:
- Attributes on arrays, maps, sets, and functions, - Attributes on arrays, maps, sets, and functions,
- Function closures. - Function closures.
Style and input sanitization: Relaxed JSON input format:
- Comments are treated as whitespace and are stripped from input - Comments are treated as whitespace and are stripped from input
- Trailing commas are ignored - Trailing commas are ignored
- `\``, `'`, and `"` are supported as string quotes - All JavaScript string quotes are supported
- Object keys are optionally quoted if they confirm to JavaScript identifier spec. - Object keys are optionally quoted if they confirm to JavaScript identifier spec
Note that this a strict superset of JSON, this if only JSON-supported Note that this a strict superset of JSON, this if only JSON-supported
data is serialized the output will be strict JSON. data is serialized the output will be strict JSON.