comparison 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
comparison
equal deleted inserted replaced
229:d54dab075247 230:d96981c06e62
651 651
652 err = "string expected for maker"; 652 err = "string expected for maker";
653 653
654 } else if (!j["rights"].is_null() && 654 } else if (!j["rights"].is_null() &&
655 !j["rights"].is_string()) { 655 !j["rights"].is_string()) {
656
656 err = "string expected for rights"; 657 err = "string expected for rights";
657 658
658 } else if (!j["category"].is_null() && 659 } else if (!j["category"].is_null() &&
659 !j["category"].is_array()) { 660 !j["category"].is_array()) {
660 661
672 673
673 } else if (!j["inputDomain"].is_null() && 674 } else if (!j["inputDomain"].is_null() &&
674 !j["inputDomain"].is_string()) { 675 !j["inputDomain"].is_string()) {
675 676
676 err = "string expected for inputDomain"; 677 err = "string expected for inputDomain";
677
678 } else if (!j["basicOutputInfo"].is_null() &&
679 !j["basicOutputInfo"].is_array()) {
680
681 err = "array expected for basicOutputInfo";
682 678
683 } else if (!j["staticOutputInfo"].is_null() && 679 } else if (!j["staticOutputInfo"].is_null() &&
684 !j["staticOutputInfo"].is_object()) { 680 !j["staticOutputInfo"].is_object()) {
685 681
686 err = "object expected for staticOutputInfo"; 682 err = "object expected for staticOutputInfo";