Guides

Combine newline-delimited JSON into an array

Follow these steps using a local file and keep the original.

Combine newline-delimited JSON into an array
Actual local tool workspace with a synthetic sample.
  1. Select an NDJSON file containing one JSON value on each nonempty line.
  2. Run to parse each line independently and collect the results in an array.
  3. Save the JSON and compare the item count. Multiline JSON values are not valid NDJSON records.
Open related toolDownload sample