JSON Lines (JSONL / NDJSON)

JSON Lines stores one complete JSON value per line. Records can be processed independently without one enclosing array.

Using JSON Lines (JSONL / NDJSON) in Docbench

Validate the rows and try converting them to a JSON array.

Open example in the editor

Example

{"item":"label","quantity":3}
{"item":"box","quantity":1}

JSON Lines (JSONL / NDJSON) reference