nickeltobias / tcjson
parse and stringify circular data structures, with compatible counterpart in Javascript
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/nickeltobias/tcjson
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-10-29 23:57:20 UTC
README
like the native js JSON object, it provides the two methods strigify and parse. This lib is just like CircularJSON, but I guarantee the shortest possible JSON, that allow the same reproduction of your objects;
Installation
In browser you load it how ever you want. for example as tag before you use it: <script src="tXml.js"></script>.
In node, run "npm install tjson" in your project. if necessary with --save parameter. and then in your script you require it by "var tXml = require('tjson');"