diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-20 14:53:53 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | 1db0a7ffcee6f6ae6bd3298a960665378d304fa1 (patch) | |
tree | 12c0f9df760943dd323b5b0286c1da7aaaaf0728 /libtests/qtest/json_handler | |
parent | acf8d18b6e41ec9786bd059795731e92998620ab (diff) | |
download | qpdf-1db0a7ffcee6f6ae6bd3298a960665378d304fa1.tar.zst |
JSONHandler: rework dictionary and array handlers
Diffstat (limited to 'libtests/qtest/json_handler')
-rw-r--r-- | libtests/qtest/json_handler/json_handler.out | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libtests/qtest/json_handler/json_handler.out b/libtests/qtest/json_handler/json_handler.out index 13554af3..368c94b5 100644 --- a/libtests/qtest/json_handler/json_handler.out +++ b/libtests/qtest/json_handler/json_handler.out @@ -1,22 +1,31 @@ -- scalar -- .: string: potato -- all -- +.: json: dict begin +.five: json: array begin .five[0]: string: x .five[1]: bool: false .five[2]: string: y .five[3]: null .five[4]: bool: true +.five: json: array end .four: json: [ "a", 1 ] .one: string: potato .phour: json: null +.six: json: dict begin +.six.a: json: dict begin .six.a.Q: json: "baaa" .six.a.b: string: quack +.six.a: json: dict end .six.b: string: moo +.six: json: dict end .three: bool: true .two: number: 3.14 +.: json: dict end -- errors -- bad type at top: JSON handler: value at . is not of expected type +.: json: dict begin unexpected key: JSON handler found unexpected key x in object at . |