mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-22 07:30:43 +00:00
json-input iterate
This commit is contained in:
parent
3e7ee00fcf
commit
a16a35fef4
1 changed files with 13 additions and 0 deletions
|
|
@ -103,6 +103,19 @@ static void lrec_reader_mmap_json_sof(void* pvstate, void* pvhandle) {
|
|||
}
|
||||
|
||||
sllv_append(pstate->parsed_top_level_jsons, parsed_top_level_json);
|
||||
// xxx
|
||||
//switch(parsed_top_level_json->type) {
|
||||
//case json_array:
|
||||
// for each {
|
||||
// validate & add it
|
||||
// }
|
||||
// break;
|
||||
//case json_object:
|
||||
// validate & add it
|
||||
// break;
|
||||
//default:
|
||||
// break;
|
||||
//}
|
||||
|
||||
if (item_start == NULL)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue