Does each line have to contain an object?
A line can contain any valid JSON value, including a number, array, string, boolean or null. Check what the service consuming your file expects.
Convert a JSON array into one JSON value per line, or combine JSON Lines into an array. Validation checks the input while conversion keeps its numeric and string spellings.
JSON Lines, often called JSONL or NDJSON, stores a full JSON value on each line. When converting from an array, each top-level entry becomes one compact line. Nested arrays and objects stay inside their own entry.
In JSONL mode the converter ignores blank lines and reports the first line with invalid JSON. Nonblank lines keep their original order. The output keeps the original digits and escape sequences even when a JSON parser would round a large number.
A line can contain any valid JSON value, including a number, array, string, boolean or null. Check what the service consuming your file expects.
A newline escape inside a JSON string stays inside the string. Only actual line breaks between JSON values separate records.