diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-12-17 17:55:11 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-12-22 00:34:56 +0100 |
commit | 651179b5da0777f861e427f96fd8560bf1516ae5 (patch) | |
tree | 8e4d3ba2a121fc5803b8465d5977443e21f3e460 /libtests/qtest/json | |
parent | 0776c00129fac282e2e758bf1f32474af85db50e (diff) | |
download | qpdf-651179b5da0777f861e427f96fd8560bf1516ae5.tar.zst |
Add simple JSON serializer
Diffstat (limited to 'libtests/qtest/json')
-rw-r--r-- | libtests/qtest/json/json.out | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libtests/qtest/json/json.out b/libtests/qtest/json/json.out new file mode 100644 index 00000000..f06cc1fb --- /dev/null +++ b/libtests/qtest/json/json.out @@ -0,0 +1,23 @@ +--- top-level type mismatch +top-level object is supposed to be a dictionary +--- +--- top-level type mismatch +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 "./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 +--- +--- pass +--- +end of json tests |