diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-18 00:38:05 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | aa0a379b37889caad022ec12fba76990b2e2e2d9 (patch) | |
tree | 6b8ca4c09078fca819dfcd0b374c78dfb1833ec3 /include | |
parent | 5c5e5ca29b20877614d9b1c025b86707e67e548b (diff) | |
download | qpdf-aa0a379b37889caad022ec12fba76990b2e2e2d9.tar.zst |
Add JSON::isDictionary and JSON::isArray
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/JSON.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qpdf/JSON.hh b/include/qpdf/JSON.hh index 3618d1e7..11fe2c7b 100644 --- a/include/qpdf/JSON.hh +++ b/include/qpdf/JSON.hh @@ -69,6 +69,12 @@ class JSON QPDF_DLL static JSON makeNull(); + QPDF_DLL + bool isArray() const; + + QPDF_DLL + bool isDictionary() const; + // Check this JSON object against a "schema". This is not a schema // according to any standard. It's just a template of what the // JSON is supposed to contain. The checking does the following: |