ndjson to json javascript

JavaScript
let json = JSON.parse(ndjson_data)
Source

Also in JavaScript: