Minor code cleaning
This commit is contained in:
parent
d888064990
commit
85d8c9dbf0
|
@ -0,0 +1 @@
|
||||||
|
{ "\"Name": [ 116,"\\\"", 234, "true", false ], "t": 1.0e+10}
|
|
@ -40,12 +40,6 @@ bool json_parse(const uint8_t *buf, size_t len, ParsedJson &pj, bool reallocifne
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool isok = find_structural_bits(buf, len, pj);
|
bool isok = find_structural_bits(buf, len, pj);
|
||||||
/*if (isok) {
|
|
||||||
isok = flatten_indexes(len, pj);
|
|
||||||
} else {
|
|
||||||
if(reallocated) free((void*)buf);
|
|
||||||
return false;
|
|
||||||
}*/
|
|
||||||
if (isok) {
|
if (isok) {
|
||||||
isok = unified_machine(buf, len, pj);
|
isok = unified_machine(buf, len, pj);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue