Merge pull request #7743 from karroffel/json_parsing-3.0

JSON::parse reports errors on open-ended objects (master)
This commit is contained in:
Rémi Verschelde 2017-02-12 23:17:08 +01:00 committed by GitHub
commit 5ce18cbdb9
1 changed files with 2 additions and 2 deletions

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;
}