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,
- Function closures.
Style and input sanitization:
Relaxed JSON input format:
- Comments are treated as whitespace and are stripped from input
- Trailing commas are ignored
- `\``, `'`, and `"` are supported as string quotes
- Object keys are optionally quoted if they confirm to JavaScript identifier spec.
- All JavaScript string quotes are supported
- 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
data is serialized the output will be strict JSON.