added links to alternatives...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2026-02-19 18:28:55 +03:00
parent 7a8593fc2e
commit 1227b7cec5

View File

@ -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)