# HG changeset patch # User Chris Cannam # Date 1497339717 -3600 # Node ID d96981c06e62dab4f92061f3bb23316901b3ada4 # Parent d54dab075247da3321a294e39b9b8ab317803ac5 Small tidy diff -r d54dab075247 -r d96981c06e62 vamp-json/VampJson.h --- a/vamp-json/VampJson.h Mon Jun 12 10:20:25 2017 +0100 +++ b/vamp-json/VampJson.h Tue Jun 13 08:41:57 2017 +0100 @@ -653,6 +653,7 @@ } else if (!j["rights"].is_null() && !j["rights"].is_string()) { + err = "string expected for rights"; } else if (!j["category"].is_null() && @@ -675,11 +676,6 @@ err = "string expected for inputDomain"; - } else if (!j["basicOutputInfo"].is_null() && - !j["basicOutputInfo"].is_array()) { - - err = "array expected for basicOutputInfo"; - } else if (!j["staticOutputInfo"].is_null() && !j["staticOutputInfo"].is_object()) {