diff options
Diffstat (limited to 'libqpdf/JSONHandler.cc')
-rw-r--r-- | libqpdf/JSONHandler.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libqpdf/JSONHandler.cc b/libqpdf/JSONHandler.cc index f4360a2d..b5c7c35d 100644 --- a/libqpdf/JSONHandler.cc +++ b/libqpdf/JSONHandler.cc @@ -133,12 +133,10 @@ JSONHandler::handle(std::string const& path, JSON j) } if (!handled) { - // It would be nice to include information about what type the - // object was and what types were allowed, but we're relying - // on schema validation to make sure input is properly - // structured before calling the handlers. It would be - // different if this code were trying to be part of a - // general-purpose JSON package. + // It would be nice to include information about what type the object was and what types + // were allowed, but we're relying on schema validation to make sure input is properly + // structured before calling the handlers. It would be different if this code were trying to + // be part of a general-purpose JSON package. QTC::TC("libtests", "JSONHandler unhandled value"); usage("JSON handler: value at " + path + " is not of expected type"); } |