The second patch "json: drop warning on stderr for missing json() hook in stmt_print_json()" is important to add .json-nft tests from Subject: [PATCH nft 0/7] add and check dump files for JSON in tests/shell Date: Tue, 31 Oct 2023 19:53:26 +0100 (while fixing the bug in stmt_print_json()/chain_stmt_ops.json might take longer). This replaces v1: Subject: [PATCH nft 2/7] json: drop messages "warning: stmt ops chain have no json callback" Date: Tue, 31 Oct 2023 19:53:28 +0100 and v2: Subject: [PATCH nft 1/2] json: implement json() hook for "symbol_expr_ops"/"variabl_expr_ops" Subject: [PATCH nft 2/2] json: drop handling missing json() hook for "struct expr_ops" Date: Thu, 2 Nov 2023 12:20:28 +0100 Thomas Haller (2): json: drop handling missing json() hook in expr_print_json() json: drop warning on stderr for missing json() hook in stmt_print_json() src/expression.c | 2 ++ src/json.c | 38 ++++++++++++++++---------------------- src/statement.c | 1 + 3 files changed, 19 insertions(+), 22 deletions(-) -- 2.41.0