Skip to main content

JSON Line reader

Read a JSONL file line by line. For example:

A JSON file
{ "name": "element1", "value": "value1" }
{ "name": "element2", "value": "value2" }
{ "name": "element3", "value": "value3" }

Parameters​

Ignore invalid lines

Whether to tolerate lines that are not valid JSON. Optional, off by default: an invalid line then fails the whole run. When enabled, each invalid line surfaces as a failed record for that line (it is not silently dropped) and the run continues with the remaining lines.

Output​

JSON Element

The current line element being read from the JSON file.

Line index
The current line index (starts at 1).