stream-to-json
Deserialize JSON from a stream
Example
var toJSON = ;var request = ; ;
API
toJSON(stream, fn)
Read all from stream
, then JSON.parse
and call fn
with the result.
If there's an Error in the stream itself, or parsing the JSON, an error
will be passed.
Installation
$ npm install stream-to-json
License
MIT