Merge pull request #16451 from s-hadinger/json_fix

Fix json parsing
This commit is contained in:
s-hadinger 2022-09-06 20:01:01 +02:00 committed by GitHub
commit 84df0d0801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -408,6 +408,8 @@ void JsonParser::parse(char * json_in) {
// TODO error checking
if (_token_len >= 0) {
postProcess(json_len);
} else {
this->free(); // invalid JSON
}
}