aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Operator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_Operator.cc')
-rw-r--r--libqpdf/QPDF_Operator.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Operator.cc b/libqpdf/QPDF_Operator.cc
index d1b2969d..763c4f12 100644
--- a/libqpdf/QPDF_Operator.cc
+++ b/libqpdf/QPDF_Operator.cc
@@ -1,5 +1,7 @@
#include <qpdf/QPDF_Operator.hh>
+#include <qpdf/JSON_writer.hh>
+
QPDF_Operator::QPDF_Operator(std::string const& val) :
QPDFValue(::ot_operator, "operator"),
val(val)
@@ -29,3 +31,9 @@ QPDF_Operator::getJSON(int json_version)
{
return JSON::makeNull();
}
+
+void
+QPDF_Operator::writeJSON(int json_version, JSON::Writer& p)
+{
+ p << "null";
+}