diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:45:02 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-31 21:57:45 +0100 |
commit | 3b60224bae16f36e0b6caf13fe1e119b9fa1f6b1 (patch) | |
tree | afdaac0f93751a9ec3d689ab08f18a34ca6f4679 /libtests/json_handler.cc | |
parent | b74e7989c34e041e7a6461e00ae045045273ca51 (diff) | |
download | qpdf-3b60224bae16f36e0b6caf13fe1e119b9fa1f6b1.tar.zst |
JSONHandler: pass JSON object to array start function
Diffstat (limited to 'libtests/json_handler.cc')
-rw-r--r-- | libtests/json_handler.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libtests/json_handler.cc b/libtests/json_handler.cc index dcc8e66e..568677a8 100644 --- a/libtests/json_handler.cc +++ b/libtests/json_handler.cc @@ -71,8 +71,7 @@ static std::shared_ptr<JSONHandler> make_all_handler() auto h5s = std::make_shared<JSONHandler>(); h->addDictKeyHandler("five", h5s); h5s->addArrayHandlers( - make_print_message("array begin"), - make_print_message("array end"), + print_json, make_print_message("array end"), h5); auto h6 = std::make_shared<JSONHandler>(); h6->addDictHandlers( |