mirror of
https://github.com/flynx/serialize.js.git
synced 2026-07-10 19:20:56 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9bc96a9396
commit
5d0beb3bc7
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user