2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-05 20:00:53 +00:00
qpdf/libqpdf/QPDF_Null.cc

26 lines
323 B
C++
Raw Normal View History

#include <qpdf/QPDF_Null.hh>
std::string
QPDF_Null::unparse()
{
return "null";
}
2018-12-17 22:40:29 +00:00
JSON
QPDF_Null::getJSON(int json_version)
2018-12-17 22:40:29 +00:00
{
return JSON::makeNull();
}
QPDFObject::object_type_e
QPDF_Null::getTypeCode() const
{
return QPDFObject::ot_null;
}
char const*
QPDF_Null::getTypeName() const
{
return "null";
}