gson
Serialize circular javascript object graphs
Last updated 6 years ago by aaaristo .
Apache2 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gson 
SYNC missed versions from official npm registry.

GSON

Serialize circular javascript object graphs, using circularjs to traverse them in a non-recusive way.

npm install gson

var GSON= require('gson');

var a= { name: 'Andrea' },
    e= { name: 'Elena' };
    
a.daughter= e;
e.dad= a;

console.log(GSON.decode(GSON.encode(a)));
console.log(GSON.parse(GSON.stringify(a)));

Current Tags

  • 0.1.5                                ...           latest (6 years ago)

6 Versions

  • 0.1.5                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 3
Last Month 23
Dependencies (1)
Dev Dependencies (1)

Copyright 2014 - 2017 © taobao.org |