JSON::parse reports errors on open-ended objects

This commit is contained in:
Karroffel 2017-02-06 19:22:42 +00:00
parent c508b5b2e1
commit 85793ccc4a

View file

@ -374,7 +374,7 @@ Error JSON::_parse_array(Array &array,const CharType *p_str,int &index, int p_le
}
return OK;
return ERR_PARSE_ERROR;
}
@ -446,7 +446,7 @@ Error JSON::_parse_object(Dictionary &object,const CharType *p_str,int &index, i
}
}
return OK;
return ERR_PARSE_ERROR;
}