Skip to content

[RFC]: add @stdlib/utils/parse-ndjson #1075

Closed
@kgryte

Description

@kgryte

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

Questions

No.

Other

The following should serve as a reference package:

Checklist

  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.

Metadata

Metadata

Assignees

Labels

AcceptedRFC feature request which has been accepted.FeatureIssue or pull request for adding a new feature.JavaScriptIssue involves or relates to JavaScript.RFCRequest for comments. Feature requests and proposed changes.UtilitiesIssue or pull request concerning general utilities.difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.priority: NormalNormal priority concern or feature request.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions