Mercurial > hg > piper-cpp
diff vamp-json/VampJson.h @ 230:d96981c06e62
Small tidy
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 13 Jun 2017 08:41:57 +0100 |
parents | 9aca3267809c |
children | 82f86151bc4b |
line wrap: on
line diff
--- 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()) {