2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-05-30 00:40:52 +00:00
qpdf/qpdf/qtest/qpdf/manual-qpdf-json.json
Jay Berkenbilt d01c4f8819 Change --json-output format
from "qpdf-v2" to "qpdf": [..., ...]
2022-07-31 10:32:55 -04:00

149 lines
3.1 KiB
JSON

{
"comment": [
"We allow and ignore other top-level keys"
],
"qpdf": [
{
"jsonversion": 2,
"pdfversion": "2.0",
"maybe-future-key": {
"x": [
"Lots of times we ignore things",
"for forward-compatibility so we don't have",
"to change the version number if we add stuff",
"in the future"
]
}
},
{
"obj:3 0 R": {
"value": {
"/Contents": "4 0 R",
"/MediaBox": [
0,
0,
612,
792
],
"/Parent": "2 0 R",
"/Resources": {
"/Font": {
"/F1": "6 0 R"
},
"/ProcSet": "5 0 R"
},
"/Type": "/Page"
},
"ignore": "this is ignored"
},
"obj:2 0 R": {
"value": {
"/Count": 1,
"/Kids": [
"3 0 R"
],
"/Type": "/Pages"
},
"ignore": {
"potato": "salad",
"this": ["is ignored too"]
}
},
"obj:1 0 R": {
"value": {
"/Pages": "2 0 R",
"/Type": "/Catalog"
}
},
"obj:4 0 R": {
"stream": {
"what-is-this": "doesn't matter",
"dict": {},
"data": "QlQKICAvRjEgMjQgVGYKICA3MiA3MjAgVGQKICAoUG90YXRvKSBUagpFVAo="
}
},
"obj:5 0 R": {
"value": [
"/PDF",
"/Text"
]
},
"obj:6 0 R": {
"value": {
"/BaseFont": "/Helvetica",
"/Encoding": "/WinAnsiEncoding",
"/Name": "/F1",
"/Subtype": "/Type1",
"/Type": "/Font"
}
},
"trailer": {
"even-here-we-ignore": "stuff",
"value": {
"/QTest": "7 0 R",
"/Root": "1 0 R",
"/Size": 9
}
},
"obj:7 0 R": {
"value": {
"/hex strings": [
"u:Potato",
"b:01020300040560",
"u:AB"
],
"/indirect": "8 0 R",
"/names": [
"/nesting",
"/hex strings",
"/text/plain"
],
"/nesting": {
"/a": [
1,
2,
{
"/x": "u:y"
},
[
"u:z"
]
],
"/b": {
"/": "u:legal",
"/a": [
1,
2
]
}
},
"/strings": [
"u:one",
"b:24a2",
"b:",
"u:",
"u:()",
"u:(",
"u:)",
"u:a\f\b\t\r\nb",
"u:\"",
"u:\"\"",
"u:\"(\")\"",
"b:410042",
"u:a\nb",
"u:a b",
["u:π", "u:\u03c0", "b:EFBBBFCF80", "b:feff03c0"],
["u:🥔", "u:\ud83e\udd54", "b:feffd83eDD54", "b:efbbbff09fa594"]
]
}
},
"obj:8 0 R": {
"value": {
"/k1": "u:hello",
"/dangling": ["100 0 R"]
}
}
}
]
}