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')));

    Install

    npm i gsonpp

    DownloadsWeekly Downloads

    7

    Version

    0.1.3

    License

    Apache2

    Last publish

    Collaborators

    • avatar