gsonpp

0.1.3 • Public • Published

gsonpp

Serialize huge circular object graphs to file, without using extra V8 heap to do it. Use GSON to deserialize.

npm install gsonpp gson
 
var gsonpp= require('gsonpp');
 
var a= { name: 'Andrea' },
    e= { name: 'Elena' };
    
a.daughter= e;
e.dad= a;
 
gsonpp.serialize('a.gson',a);
 
var fs= require('fs'),
    GSON= require('gson');
 
console.log(GSON.parse(fs.readFileSync('a.gson','utf8')));

Package Sidebar

Install

npm i gsonpp

Weekly Downloads

3

Version

0.1.3

License

Apache2

Last publish

Collaborators

  • aaaristo