diff options
author | m-holger <m-holger@kubitscheck.org> | 2024-02-09 14:03:53 +0100 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2024-02-16 11:32:41 +0100 |
commit | 9e90007a4a490dd1335b63079fc3e2a74420911f (patch) | |
tree | 69e485e96e7aba218e3e3c3d6c9c29683e8480e9 /include | |
parent | b1b789df4203296a848fec6a3513f30efceb1a45 (diff) | |
download | qpdf-9e90007a4a490dd1335b63079fc3e2a74420911f.tar.zst |
Add new private class JSON::Writer
Create a simple utility class for writing JSON to a pipeline.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/JSON.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/qpdf/JSON.hh b/include/qpdf/JSON.hh index e3c8a7dc..3272800d 100644 --- a/include/qpdf/JSON.hh +++ b/include/qpdf/JSON.hh @@ -290,8 +290,11 @@ class JSON QPDF_DLL qpdf_offset_t getEnd() const; + // The following class does not form part of the public API and is for internal use only. + + class Writer; + private: - static std::string encode_string(std::string const& utf8); static void writeClose(Pipeline* p, bool first, size_t depth, char const* delimeter); enum value_type_e { |