JSON-like parser/formatter to pass objects between processes and/or threads
JASON is just like JSON, but unlike JSON it can:
.parse()with their proper types/classes.
JASON lets you pass objects as text between processes and/or threads.
Warning: unlike JSON, JASON is unsafe. You should only use it in contexts where you have strong guarantees that the strings that you pass to the JASON parser have been produced by a JASON formatter from a trusted source.
parse function is just a call to
var JASON = require"JASON";str = JASONstringifyobj;obj = JASONparsestr;
The easiest way to install
JASON is with NPM:
npm install JASON
This work is licensed under the MIT license.