json-write

A stream-based serializer for JSON.

npm install json-write
3 downloads in the last week
12 downloads in the last month

JSON Write

A stream-based JSON serializer, useful for serializing very large JSON objects without creating massive strings in memory.

var jsonWrite = require("json-write");

var writer = jsonWrite();
writer.pipe(process.stdout);
writer.write({type: "Topology", objects: [1,2]});
writer.end({type: "Topology", objects: [1,2]});
npm loves you