diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-05-07 23:17:27 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-05-08 19:45:20 +0200 |
commit | e9390aeaaa3d4a6c6af5478bfd7a5fd6b2373087 (patch) | |
tree | b3a2e8728a46fabba362c0e7458994da6219fe91 /manual/cli.rst | |
parent | 2e87d593eb2f593807c34e7baa66b77bb039b996 (diff) | |
download | qpdf-e9390aeaaa3d4a6c6af5478bfd7a5fd6b2373087.tar.zst |
Add --to-json option
Diffstat (limited to 'manual/cli.rst')
-rw-r--r-- | manual/cli.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/manual/cli.rst b/manual/cli.rst index a0c6ba3b..92194e78 100644 --- a/manual/cli.rst +++ b/manual/cli.rst @@ -3174,6 +3174,20 @@ Related Options :qpdf:ref:`--json-help` option to get a description of the JSON object. +.. qpdf:option:: --to-json + + .. help: serialize to JSON + + Shortcut for options useful for serializing PDF to JSON: + --json=latest --json-stream-data=inline + --json-key=qpdf --decode-level=none + + This option is a shorthand for + ``--json=latest --json-stream-data=inline --json-key=qpdf --decode-level=none``. + These are good options for serializing a PDF to JSON in manner that + allows qpdf to read it back in. You can override any of these + options by specifying other options after them. + .. qpdf:option:: --json-help .. help: show format of JSON output |