summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-12-25 14:29:07 +0100
committerJay Berkenbilt <ejb@ql.org>2018-12-25 17:52:21 +0100
commit3440ea7d3ca0bfb5d6fb4d7392b61017cb36bf0a (patch)
treebd82c363917769cc5a4ce14f4687889a03b2e9b1 /include
parent2e2223ffe15d0f5b1d26e38c75df28c499fcc3e4 (diff)
downloadqpdf-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.hh2
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