diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-19 17:41:23 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | cf8405d91e073dde4425fd8983651e7b91ccc167 (patch) | |
tree | be458825766212dc3e14729714de3cfe78a1f347 /libqpdf | |
parent | 2e585414937a31751c4b431e1e1be2563bef024e (diff) | |
download | qpdf-cf8405d91e073dde4425fd8983651e7b91ccc167.tar.zst |
Fix json schema for objects to include dictionary key
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/QPDFJob.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libqpdf/QPDFJob.cc b/libqpdf/QPDFJob.cc index 95a40103..4676d872 100644 --- a/libqpdf/QPDFJob.cc +++ b/libqpdf/QPDFJob.cc @@ -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")) { |