From 3440ea7d3ca0bfb5d6fb4d7392b61017cb36bf0a Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 25 Dec 2018 08:29:07 -0500 Subject: JSON::serialize -> unparse Unparse is admittedly strange, but I'd rather be strange and consistent, and everything else in the qpdf library uses unparse to serialize. (If you're reading this, the convention of using "unparse" comes from the "clu" programming language.) --- libqpdf/JSON.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf') diff --git a/libqpdf/JSON.cc b/libqpdf/JSON.cc index def439cf..df753b69 100644 --- a/libqpdf/JSON.cc +++ b/libqpdf/JSON.cc @@ -150,7 +150,7 @@ std::string JSON::JSON_null::unparse(size_t) const } std::string -JSON::serialize() const +JSON::unparse() const { if (0 == this->m->value.getPointer()) { -- cgit v1.2.3-70-g09d2