stdlib
stdlib copied to clipboard
[RFC]: add `@stdlib/utils/parse-ndjson`
Description
This RFC proposes adding a utility to parse a string containing serialized newline-delimited JSON (NDJSON).
The exposed API should have the same signature as @stdlib/utils/parse-json, and the reviver should be applied to each line of NDJSON.
Package: @stdlib/utils/parse-ndjson
Alias: parseNDJSON
Related Issues
- https://github.com/stdlib-js/stdlib/issues/1074
Questions
No.
Other
The following should serve as a reference package:
Checklist
- [X] I have read and understood the Code of Conduct.
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with
RFC:.