summaryrefslogtreecommitdiff
path: root/decode_scan_test.go
AgeCommit message (Collapse)Author
2023-02-18jsonparse: Have PushReadBarrier reject trailing whitespaceLuke Shumaker
2023-02-18decode_scan, jsonparse: Rework the behavior to make a bit more senseLuke Shumaker
- decode_scan: Don't have .Reset() re-play an erroring rune - decode_Scan: Have RuneTypeEOF always be zero-width - jsonparse: Don't replace syntax errors with RuneTypeEOF if there's no barrier
2023-02-18decode_scan: Add a bunch of testsLuke Shumaker
2023-02-07internal: Split in to sub-packagesLuke Shumaker
2023-01-30Invent "barriers" instead of nesting parsersLuke Shumaker
2023-01-30decode: Inline noWsRuneTypeScanner into runeTypeScannerImplLuke Shumaker
2023-01-30decode: Fix DecodeTypeError offsetsLuke Shumaker
2023-01-29.golangci.yml: Turn on 'prealloc', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on 'paralleltest', fixLuke Shumaker
2023-01-26Move the Parser to the internal packageLuke Shumaker
2022-08-21decode: Lean in to io.RuneScannerLuke Shumaker
So that it's easier to compose your own .DecodeJSON methods, since .DecodeJSON takes an io.RuneScanner.
2022-08-17Get the new borrowed tests passingLuke Shumaker
2022-08-17Add tests for decode reading too farLuke Shumaker
2022-08-16decode_scan_test.go: Factor out a common test runnerLuke Shumaker
2022-08-16Run the fuzzer a bitLuke Shumaker
2022-08-15rename parse_scan decode_scan parse_scan*Luke Shumaker