mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 11:28:56 +00:00
16f4f94cd9
Update getJSON() methods and calls to them
26 lines
323 B
C++
26 lines
323 B
C++
#include <qpdf/QPDF_Null.hh>
|
|
|
|
std::string
|
|
QPDF_Null::unparse()
|
|
{
|
|
return "null";
|
|
}
|
|
|
|
JSON
|
|
QPDF_Null::getJSON(int json_version)
|
|
{
|
|
return JSON::makeNull();
|
|
}
|
|
|
|
QPDFObject::object_type_e
|
|
QPDF_Null::getTypeCode() const
|
|
{
|
|
return QPDFObject::ot_null;
|
|
}
|
|
|
|
char const*
|
|
QPDF_Null::getTypeName() const
|
|
{
|
|
return "null";
|
|
}
|