diff options
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 |