aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Name.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_Name.cc')
-rw-r--r--libqpdf/QPDF_Name.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Name.cc b/libqpdf/QPDF_Name.cc
index 0c2082c4..290fb067 100644
--- a/libqpdf/QPDF_Name.cc
+++ b/libqpdf/QPDF_Name.cc
@@ -44,6 +44,12 @@ QPDF_Name::unparse()
return normalizeName(this->name);
}
+JSON
+QPDF_Name::getJSON()
+{
+ return JSON::makeString(normalizeName(this->name));
+}
+
QPDFObject::object_type_e
QPDF_Name::getTypeCode() const
{