mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-08 17:24:06 +00:00
Fix json schema for objects to include dictionary key
This commit is contained in:
parent
2e58541493
commit
cf8405d91e
@ -1474,9 +1474,9 @@ QPDFJob::json_schema(std::set<std::string>* keys)
|
|||||||
if (all_keys || keys->count("objects"))
|
if (all_keys || keys->count("objects"))
|
||||||
{
|
{
|
||||||
schema.addDictionaryMember(
|
schema.addDictionaryMember(
|
||||||
"objects", JSON::makeString(
|
"objects", JSON::parse(R"({
|
||||||
"dictionary of original objects;"
|
"<n n R|trailer>": "json representation of object"
|
||||||
" keys are 'trailer' or 'n n R'"));
|
})"));
|
||||||
}
|
}
|
||||||
if (all_keys || keys->count("objectinfo"))
|
if (all_keys || keys->count("objectinfo"))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user