Patch 1 makes the fields of the synproxy object optional during parsing and printing. It also makes the order of the fields during parsing insensitive. Patch 2/3 to print the synproxy more pretty. Zhongqiu Duan (3): src: make the mss and wscale fields optional for synproxy object src: do not print unnecessary space for the synproxy object src: only print the mss and wscale of synproxy if they are present src/json.c | 9 ++-- src/parser_bison.y | 63 ++++++++------------------ src/parser_json.c | 26 +++++++---- src/rule.c | 4 +- src/statement.c | 2 +- tests/shell/testcases/json/single_flag | 4 +- 6 files changed, 48 insertions(+), 60 deletions(-) -- 2.43.0