mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-25 04:54:07 +00:00
Currently new json object opens (and delete_json_obj closes) the object as an array, what adds prints for the matching bracket '[' ']' at the start/end of the object. This patch adds new_json_obj_plain() and the matching delete_json_obj_plain() to enable opening and closing json object, not as array and leave it to the using function to decide which type of object to open/close as the main object. Signed-off-by: Ron Diskin <rondi@mellanox.com> Reviewed-by: Moshe Shemesh <moshe@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> |
||
|---|---|---|
| .. | ||
| bpf.c | ||
| color.c | ||
| coverity_model.c | ||
| exec.c | ||
| fs.c | ||
| inet_proto.c | ||
| json_print.c | ||
| json_writer.c | ||
| libgenl.c | ||
| libnetlink.c | ||
| ll_addr.c | ||
| ll_map.c | ||
| ll_proto.c | ||
| ll_types.c | ||
| Makefile | ||
| mpls_ntop.c | ||
| mpls_pton.c | ||
| names.c | ||
| namespace.c | ||
| rt_names.c | ||
| utils.c | ||