-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simd-doc: allow for continued parsing after errors
Update Parser to support continued parsing after an error in parsing a JSON document. Use a polling-based design, where a caller can add one or more chunk()'s to a Parser and then repeatedly poll it to drain all parsed or transcoded documents and errors. Also update error tracking to provide fine-grain localization of exactly where, in the input stream, the erroring document is located. Enhance fuzz tests to mix in errors alongside valid documents, and verify that parsing and transcoding give exactly the same outcomes. Resolves #1584
- Loading branch information
1 parent
7557ed6
commit a95a6f8
Showing
9 changed files
with
449 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.