mirror of
https://github.com/flynx/serialize.js.git
synced 2026-06-22 10:29:24 +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,
|
||||
- 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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user