Fix json parsing

This commit is contained in:
Stephan Hadinger 2022-09-06 19:49:12 +02:00
parent fcd96e0ec4
commit 3a54e8d84c

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