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.) --- include/qpdf/JSON.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/qpdf/JSON.hh b/include/qpdf/JSON.hh index f5dd57d5..78f5cc05 100644 --- a/include/qpdf/JSON.hh +++ b/include/qpdf/JSON.hh @@ -41,7 +41,7 @@ class JSON { public: QPDF_DLL - std::string serialize() const; + std::string unparse() const; // The JSON spec calls dictionaries "objects", but that creates // too much confusion when referring to instances of the JSON -- cgit v1.2.3-54-g00ecf