YYJSON_READ_STOP_WHEN_DONE

Constant YYJSON_READ_STOP_WHEN_DONE 

Source
pub const YYJSON_READ_STOP_WHEN_DONE: yyjson_read_flag = 2;
Expand description

Stop when done instead of issuing an error if there’s additional content after a JSON document. This option may be used to parse small pieces of JSON in larger data, such as NDJSON.