1 | initial version |
-T json
with -e
options loses the tree structure and is only printing fields.
if (fields == NULL || fields->fields == NULL) { /* Write out all fields */ ... data.node_children_grouper = node_children_grouper; write_json_proto_node_children(edt->tree, &data); } else { write_specified_fields(FORMAT_JSON, fields, edt, cinfo, NULL, dumper); }