mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 19:08:59 +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"))
|
||||
{
|
||||
schema.addDictionaryMember(
|
||||
"objects", JSON::makeString(
|
||||
"dictionary of original objects;"
|
||||
" keys are 'trailer' or 'n n R'"));
|
||||
"objects", JSON::parse(R"({
|
||||
"<n n R|trailer>": "json representation of object"
|
||||
})"));
|
||||
}
|
||||
if (all_keys || keys->count("objectinfo"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user