diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-12-25 14:29:07 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-12-25 17:52:21 +0100 |
commit | 3440ea7d3ca0bfb5d6fb4d7392b61017cb36bf0a (patch) | |
tree | bd82c363917769cc5a4ce14f4687889a03b2e9b1 /include | |
parent | 2e2223ffe15d0f5b1d26e38c75df28c499fcc3e4 (diff) | |
download | qpdf-3440ea7d3ca0bfb5d6fb4d7392b61017cb36bf0a.tar.zst |
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.)
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/JSON.hh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |