Convert JSON Lines (NDJSON), one JSON object per line, into a JSON array, or split a JSON array back into JSON Lines. Common for logs and data pipelines.
JSON Lines (also called NDJSON, newline-delimited JSON) puts one complete JSON value on each line, with no surrounding array. It is popular for logs, streaming and large exports because you can read and append one record at a time without parsing the whole file.
Many tools expect a single JSON array, while data pipelines, log files and bulk APIs use JSON Lines. This tool moves data between the two formats so you can use whichever a given tool needs.
Yes. Converting to an array parses every line, so a malformed line produces a clear error. Converting the other way requires the input to be a JSON array.