diff options
author | m-holger <m-holger@kubitscheck.org> | 2024-02-15 15:47:08 +0100 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2024-02-16 12:51:10 +0100 |
commit | b9bc05356ac6823e3e105ea25908e826d7b731fd (patch) | |
tree | c4b1d5f386d120d07138b7fbb27e189ad941aec9 /include | |
parent | b15d0bf6e1305982450879b498a116d3387b705b (diff) | |
download | qpdf-b9bc05356ac6823e3e105ea25908e826d7b731fd.tar.zst |
Refactor QPDF::writeJSONStream
Use QPDF_Stream::writeStreamJSON.
Factor out the json_stream_data == qpdf_sj_file case.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index a836c3c9..04b11cba 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -1411,19 +1411,6 @@ class QPDF // JSON import void importJSON(std::shared_ptr<InputSource>, bool must_be_complete); - // JSON write - void writeJSONStream( - int version, - Pipeline* p, - bool& first, - std::string const& key, - QPDFObjectHandle&, - qpdf_stream_decode_level_e, - qpdf_json_stream_data_e, - std::string const& file_prefix); - void writeJSONObject( - int version, Pipeline* p, bool& first, std::string const& key, QPDFObjectHandle&); - // Type conversion helper methods template <typename T> static qpdf_offset_t |