mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
More cleaning.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user