an implementation of JSON.stringify that does not evaluate getters, limits the depth of the visit, allows truncation of cycles
stringifyTrunc(value[,options])
value: the value to stringify
options:
depth: truncation depth (0 is the root), defaults to 2
visit_cycles: cycles are visited if set to true, defaults to false
an implementation of JSON.stringify that does not evaluate getters, limits the depth of the visit, allows truncation of cycles
License
davideancona/JSONstringify
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
an implementation of JSON.stringify that does not evaluate getters, limits the depth of the visit, allows truncation of cycles
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published