nickeltobias / tcjson
There is no license information available for the latest version (dev-master) of this package.
parse and stringify circular data structures, with compatible counterpart in Javascript
dev-master
2015-11-22 03:52 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-10-30 18:49:24 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');"