JSONStream
rawStream.pipe(JSONStream.parse()).pipe(streamOfObjects)
JSONStream is an open-source Node.js library for parsing and generating JSON through streaming interfaces. It processes JSON incrementally instead of requiring complete documents to be loaded into memory. Developers can extract specific objects or values using JSONPath-inspired expressions. The parser supports wildcard matching, recursive traversal, and configurable path patterns. It can also emit matching keys, paths, and associated values. Mapping functions allow extracted data to be...