json-input iterate

This commit is contained in:
John Kerl 2016-02-01 00:14:29 -05:00
parent 3e7ee00fcf
commit a16a35fef4

View file

@ -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;