Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-25 | decode: Include the invalid UTF-8 byte in error messages | Luke Shumaker | |
2023-02-19 | compat/json: Correctly handle syntax-error-in-decode | Luke Shumaker | |
2023-02-18 | decode_scan, jsonparse: Rework the behavior to make a bit more sense | Luke 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-18 | decode_scan: Fix a doc comment | Luke Shumaker | |
2023-02-18 | decode_scan: s/initialized/rTypeOK/ | Luke Shumaker | |
2023-02-18 | decode_scan: Go ahead and decrement sc.offset when unreading | Luke Shumaker | |
2023-02-18 | decode_scan: PopReadBarrier, Reset: De-couple the .repeat and EOF cases | Luke Shumaker | |
This duplicates code, but it's confusing thinking about them together. | |||
2023-02-18 | decode_scan: Move Reset() to be by PopReadBarrier() | Luke Shumaker | |
2023-02-07 | internal: Split in to sub-packages | Luke Shumaker | |
2023-02-07 | decode: Fix decoding an actively growing file | Luke Shumaker | |
2023-01-30 | Invent "barriers" instead of nesting parsers | Luke Shumaker | |
2023-01-30 | decode: Inline noWsRuneTypeScanner into runeTypeScannerImpl | Luke Shumaker | |
2023-01-30 | decode: Remove unnecessary scanner struct members | Luke Shumaker | |
2023-01-30 | decode: Fix DecodeTypeError offsets | Luke Shumaker | |
2023-01-29 | Improve/fix documentation and comments | Luke Shumaker | |
2023-01-26 | Move the Parser to the internal package | Luke Shumaker | |
2022-08-21 | decode: Lean in to io.RuneScanner | Luke Shumaker | |
So that it's easier to compose your own .DecodeJSON methods, since .DecodeJSON takes an io.RuneScanner. | |||
2022-08-17 | Get the linter passing (even if it means ignoring borrowed files) | Luke Shumaker | |
2022-08-17 | Get the new borrowed tests passing | Luke Shumaker | |
2022-08-17 | Add tests for decode reading too far | Luke Shumaker | |
2022-08-16 | Get borrowed_decode_test.go passing | Luke Shumaker | |
2022-08-16 | wip: Reduce test differences [ci-skip] | Luke Shumaker | |
- Handle UTF-16 surrogate pairs - Handle cycles in values - Handle cycles in types - Better errors - Handle case-folding of struct field names - Allow []byteTypeWithMethods - Fix struct field-order - Fix handling of interfaces storing pointers - Enforce a maximum decode depth - Validate struct tags | |||
2022-08-15 | rename parse_scan decode_scan parse_scan* | Luke Shumaker | |