aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/JSON.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/JSON.hh')
-rw-r--r--include/qpdf/JSON.hh6
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: