diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-18 00:40:38 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | e8e8f6f43c760523520dfe7a5c76d88c959599f6 (patch) | |
tree | a000bcb5cbbde3e2833a57a28e761449b62165b2 /libtests/qtest/json | |
parent | b9af421ef788b94fcbf18ecf702cec3ba9a018b7 (diff) | |
download | qpdf-e8e8f6f43c760523520dfe7a5c76d88c959599f6.tar.zst |
Add JSON::parse
Diffstat (limited to 'libtests/qtest/json')
-rw-r--r-- | libtests/qtest/json/json.out | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/libtests/qtest/json/json.out b/libtests/qtest/json/json.out index ad668e51..1a320dcf 100644 --- a/libtests/qtest/json/json.out +++ b/libtests/qtest/json/json.out @@ -2,23 +2,24 @@ top-level object is supposed to be a dictionary --- --- missing items -json key "./one./a": key "/q" is present in schema but missing in object -json key "./one./a./r" is supposed to be a dictionary -json key "./one./a./s" is supposed to be an array -json key "./one./a": key "/t" is not present in schema but appears in object -json key "./three./anything": key "/z" is present in schema but missing in object -json key "./three./anything": key "/x" is not present in schema but appears in object -json key "./two.1": key "/glarp" is present in schema but missing in object -json key "./two.1": key "/flarp" is not present in schema but appears in object -json key "./two.2" is supposed to be a dictionary -json key "./two.3" is supposed to be a dictionary +json key ".one.a": key "q" is present in schema but missing in object +json key ".one.a.r" is supposed to be a dictionary +json key ".one.a.s" is supposed to be an array +json key ".one.a": key "t" is not present in schema but appears in object +json key ".three.anything": key "z" is present in schema but missing in object +json key ".three.anything": key "x" is not present in schema but appears in object +json key ".three.else": key "o" is present in schema but missing in object +json key ".two.1": key "glarp" is present in schema but missing in object +json key ".two.1": key "flarp" is not present in schema but appears in object +json key ".two.2" is supposed to be a dictionary +json key ".two.3" is supposed to be a dictionary --- --- top-level schema array error top-level object schema array contains other than one item --- --- lower-level schema array error -json key "./one./a./r" schema array contains other than one item -json key "./two" schema array contains other than one item +json key ".one.a.r" schema array contains other than one item +json key ".two" schema array contains other than one item --- --- pass --- |