ndjson to json javascript code example Example: ndjson to json javascript let json = JSON.parse(ndjson_data)