More cleaning.

This commit is contained in:
Daniel Lemire
2018-11-30 21:31:05 -05:00
parent 0e4804137c
commit c11eefca32
12 changed files with 199 additions and 56 deletions
+4
View File
@@ -11,9 +11,13 @@ bool json_parse(const u8 *buf, size_t len, ParsedJson &pj) {
bool isok = find_structural_bits(buf, len, pj);
if (isok) {
isok = flatten_indexes(len, pj);
} else {
return false;
}
if (isok) {
isok = unified_machine(buf, len, pj);
} else {
return false;
}
return isok;
}