mirror of
https://github.com/flynx/serialize.js.git
synced 2026-07-10 11:10:57 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
81839f8b24
commit
9bc96a9396
@ -18,6 +18,8 @@ Data not stored:
|
|||||||
Style and input sanitization:
|
Style and input sanitization:
|
||||||
- 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
|
||||||
|
- 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