2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 01:27:07 +00:00
qpdf/libqpdf/QPDF_Null.cc

31 lines
396 B
C++
Raw Normal View History

#include <qpdf/QPDF_Null.hh>
QPDF_Null::QPDF_Null() :
QPDFValue(::ot_null, "null")
{
}
std::shared_ptr<QPDFObject>
QPDF_Null::create()
{
return do_create(new QPDF_Null());
}
std::shared_ptr<QPDFObject>
QPDF_Null::shallowCopy()
{
return create();
}
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();
}