Issue Number: close #12574 This pr adds `NewJsonReader` which implements GenericReader interface to support read json format file. TODO: 1. modify `_scann_eof` later. 2. Rename `NewJsonReader` to `JsonReader` when `JsonReader` is deleted.
6 lines
330 B
JSON
6 lines
330 B
JSON
{"no": 1, "item": {"id": 1, "city": "beijing", "code": 2345671}}
|
|
{"no": 2, "item": {"id": 2, "city": "shanghai", "code": 2345672}}
|
|
{"no": 3, "item": {"id": 3, "city": "hangzhou", "code": 2345673}}
|
|
{"no": 4, "item": {"id": 4, "city": "shenzhen", "code": 2345674}}
|
|
{"no": 5, "item": {"id": 5, "city": "guangzhou", "code": 2345675}}
|