when config::enable_simdjson_parser=true in vec streamload, may lead to core dump when json input invalid format string like '{ "a', or all the fields is null like '{}', this may lead to simdjson lib throw some unhandled expection like `Objects and arrays can only be iterated when they are first encountered`.We should take care of these cases
Signed-off-by: eldenmoon <15605149486@163.com>
4 lines
117 B
JSON
4 lines
117 B
JSON
{"no": 1, "item: {"id": 1, "city": "beijing", "code": 2345671}}
|
|
{"no": 2, "item": {}}
|
|
{"no": 2, "item": {"id":"123}}
|