parseNdjson

fnbool parseNdjson(out var[] values, const(char)[] input, out NdjsonReadStats stats, NdjsonPolicy policy = NdjsonPolicy.init) @safe

Parse complete NDJSON text into values.

Parameters

valuesReceives the parsed values.
inputNDJSON text.
statsReceives reading statistics, including errors.
policyReading policy.

Returns

false when reading stopped on an error in FAIL_FAST mode (see

stats.lastError); true otherwise. In SKIP mode check stats.errors.