aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2024-01-14 17:38:51 +0100
committerm-holger <m-holger@kubitscheck.org>2024-01-15 16:02:52 +0100
commita41b7899955a2bf54315fc2507f8e2f010ff271a (patch)
treef08a3068da9360cb30302e3624597bb679f8ead9 /include
parent7315aa8c9b924c9351838ec5c1351a8c75e66bf1 (diff)
downloadqpdf-a41b7899955a2bf54315fc2507f8e2f010ff271a.tar.zst
Add new method JSON::getDictItem
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/JSON.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qpdf/JSON.hh b/include/qpdf/JSON.hh
index 81abe89c..e3c8a7dc 100644
--- a/include/qpdf/JSON.hh
+++ b/include/qpdf/JSON.hh
@@ -162,6 +162,8 @@ class JSON
QPDF_DLL
bool isNull() const;
QPDF_DLL
+ JSON getDictItem(std::string const& key) const;
+ QPDF_DLL
bool forEachDictItem(std::function<void(std::string const& key, JSON value)> fn) const;
QPDF_DLL
bool forEachArrayItem(std::function<void(JSON value)> fn) const;