mirror of
https://github.com/flynx/serialize.js.git
synced 2026-07-10 11:10:57 +00:00
added links to alternatives...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7a8593fc2e
commit
1227b7cec5
19
README.md
19
README.md
@ -15,6 +15,9 @@ Data not stored:
|
|||||||
- Attributes on arrays, maps, sets, and functions,
|
- Attributes on arrays, maps, sets, and functions,
|
||||||
- Function closures.
|
- Function closures.
|
||||||
|
|
||||||
|
Note that this a strict superset of JSON, this if only JSON-supported
|
||||||
|
data is serialized the output will be strict JSON.
|
||||||
|
|
||||||
|
|
||||||
## Motivation
|
## Motivation
|
||||||
|
|
||||||
@ -454,6 +457,22 @@ $ ./test.js -m 3
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Alternatives
|
||||||
|
|
||||||
|
### https://github.com/WebReflection/flatted
|
||||||
|
|
||||||
|
A very similar library that takes a different approach to the output
|
||||||
|
format (not JSON-compatible), lacks copying utils, and does not
|
||||||
|
support function serialization, but is smaller, and adds other language
|
||||||
|
support.
|
||||||
|
|
||||||
|
|
||||||
|
### https://github.com/ungap/structured-clone/
|
||||||
|
|
||||||
|
As above but slightly different approach to things, more types, cloning.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
[BSD 3-Clause License](./LICENSE)
|
[BSD 3-Clause License](./LICENSE)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user