Integrating the new 3-stage approach.

This commit is contained in:
Daniel Lemire
2018-09-25 17:26:58 -04:00
parent cb26dc9c7b
commit dee1bbe54e
3 changed files with 25 additions and 2 deletions
+3
View File
@@ -21,3 +21,6 @@ void deallocate_ParsedJson(ParsedJson *pj_ptr);
// Parse a document found in buf, need to preallocate ParsedJson.
// Return false in case of a failure.
bool json_parse(const u8 *buf, size_t len, ParsedJson &pj);
// like json_parse but users 4 stages, slower.
bool json_parse_4stages(const u8 *buf, size_t len, ParsedJson &pj);