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 /libtests | |
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 'libtests')
-rw-r--r-- | libtests/json.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtests/json.cc b/libtests/json.cc index fb902c62..1a9123ad 100644 --- a/libtests/json.cc +++ b/libtests/json.cc @@ -5,9 +5,9 @@ static void check(JSON& j, std::string const& exp) { - if (exp != j.serialize()) + if (exp != j.unparse()) { - std::cout << "Got " << j.serialize() << "; wanted " << exp << "\n"; + std::cout << "Got " << j.unparse() << "; wanted " << exp << "\n"; } } |