mirror of
https://github.com/flynx/serialize.js.git
synced 2026-07-10 11:10:57 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e6bd98b9fa
commit
9227dc0570
22
README.md
22
README.md
@ -52,14 +52,30 @@ Thus, care must be taken when serializing structures containing function.
|
|||||||
## Format
|
## Format
|
||||||
|
|
||||||
The output of `.serialize(..)` is a strict superset of standard JSON,
|
The output of `.serialize(..)` is a strict superset of standard JSON,
|
||||||
while the input format is a bit more relaxed than JSON in several details.
|
while the input format is a bit more relaxed than in several details.
|
||||||
|
|
||||||
Extensions to JSON:
|
Extensions to JSON:
|
||||||
- Recursion
|
- Recursion
|
||||||
- null types
|
- null types
|
||||||
- BigInt
|
- BigInt
|
||||||
- Map / Set
|
- Map / Set
|
||||||
- Function as code
|
- Function
|
||||||
- Function as index
|
|
||||||
|
### Structural paths
|
||||||
|
|
||||||
|
### Recursion
|
||||||
|
|
||||||
|
### null types
|
||||||
|
|
||||||
|
### BigInt
|
||||||
|
|
||||||
|
### Map / Set
|
||||||
|
|
||||||
|
### Functions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user