# gson

> Serialize circular javascript object graphs

Latest version **0.1.5** (published 2014-04-30) · Apache2 license · 0 weekly downloads

## Install

```sh
npm install gson
pnpm add gson
yarn add gson
bun add gson
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2014-04-30 |
| First published | 2014-04-16 |
| Weekly downloads | 0 |
| License | Apache2 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | aaaristo |
| Maintainers | aaaristo |
| Keywords | javascript, object, circular, graph, serialize |

## Links

- npm: https://www.npmjs.com/package/gson
- Repository: https://github.com/aaaristo/GSON
- Issues: https://github.com/aaaristo/GSON/issues
- npm.io page: https://npm.io/package/gson

## Dependencies (1)

- [circularjs](https://npm.io/package/circularjs.md) ~0.1.0

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 0.1.5 (latest) — 2014-04-30
- 0.1.4 — 2014-04-22
- 0.1.3 — 2014-04-16
- 0.1.2 — 2014-04-16
- 0.1.1 — 2014-04-16
- 0.1.0 — 2014-04-16

## README

GSON
=============

Serialize circular javascript object graphs,
using [circularjs](https://github.com/aaaristo/circularjs) to
traverse them in a non-recusive way.

```
npm install gson
```

```javascript

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

---
_Source: https://npm.io/package/gson · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
