summaryrefslogtreecommitdiff
path: root/decode.go
AgeCommit message (Expand)Author
2023-02-25decode: Touch up a panic error messageLuke Shumaker
2023-02-25decode: Add a DecodeArray functionLuke Shumaker
2023-02-25decode: Don't bail on type errorsLuke Shumaker
2023-02-23decode: Inline scanNumberLuke Shumaker
2023-02-23decode: withLimitingScanner: Reduce boilerplateLuke Shumaker
2023-02-23decode: Rename expectRune→expectRuneOrPanic, add a doc commentLuke Shumaker
2023-02-19compat/json: Correctly handle syntax-error-in-decodeLuke Shumaker
2023-02-18decode_scan, jsonparse: Rework the behavior to make a bit more senseLuke Shumaker
2023-02-16Clean up the hex handlingLuke Shumaker
2023-02-10tree-wide: Audit panic error messagesLuke Shumaker
2023-02-10decode: decodeAny: Use rune types rather that char literalsLuke Shumaker
2023-02-10decode: Remove now-superfluous recover blocksLuke Shumaker
2023-02-10decode: Have .readRune() and .expectRune() return *DecodeErrorLuke Shumaker
2023-02-10decode: Have .peekRuneType() return a *DecodeErrorLuke Shumaker
2023-02-10decode: Add a .maybeDecodeNull helperLuke Shumaker
2023-02-10decode: Have .expectRuneType() return a *DecodeErrorLuke Shumaker
2023-02-10decode: Have .decodeString() return a *DecodeErrorLuke Shumaker
2023-02-10decode: Have .scan() and .scanNumber() return *DecodeErrorLuke Shumaker
2023-02-10decode: Have .decodeNull() return a *DecodeErrorLuke Shumaker
2023-02-10decode: Have .decodeBool() return a *DecodeErrorLuke Shumaker
2023-02-10decode: Replace .panicType() with .newTypeError()Luke Shumaker
2023-02-10decode: Separate the scanner's panic-flow from the decoder's panic-flowLuke Shumaker
2023-02-10decode: Have .decodeAny return a *DecodeErrorLuke Shumaker
2023-02-10decode: Have .decodeArray take and return *DecodeErrorLuke Shumaker
2023-02-10decode: Have .decodeObject take and return *DecodeErrorLuke Shumaker
2023-02-10decode: Move the recover() from Decode() to decode()Luke Shumaker
2023-02-10decode: Rewrite .scan() to avoid making a new scannerLuke Shumaker
2023-02-10Be more careful about importing encoding/jsonLuke Shumaker
2023-02-10tree-wide: Update various references from Go 1.18 to Go 1.20Luke Shumaker
2023-02-07Move struct-handling to internal/jsonstructLuke Shumaker
2023-02-07internal: Split in to sub-packagesLuke Shumaker
2023-02-07decode: Fix decoding an actively growing fileLuke Shumaker
2023-01-30Invent "barriers" instead of nesting parsersLuke Shumaker
2023-01-30decode: Inline noWsRuneTypeScanner into runeTypeScannerImplLuke Shumaker
2023-01-30Avoid doing type switching in inner functionsLuke Shumaker
2023-01-30decode: Tidy up DecodeObject and DecodeArrayLuke Shumaker
2023-01-30decode: Fix DecodeTypeError offsetsLuke Shumaker
2023-01-30decode: s/stack/structStack/Luke Shumaker
2023-01-29Move the base64 decode to the internal packageLuke Shumaker
2023-01-29.golangci.yml: Turn on 'nakedret', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on formatting linters 'gci' and 'gofumpt', fixLuke Shumaker
2023-01-29Improve/fix documentation and commentsLuke Shumaker
2023-01-26Write documentationv0.2.0Luke Shumaker
2023-01-26Move the Parser to the internal packageLuke Shumaker
2023-01-25Delete things I don't want to documentLuke Shumaker
2022-08-21Add tests for the actual usability of the Decodable and Encodable interfacesLuke Shumaker
2022-08-21decode: Add DecodeObject and DecodeArray helper methodsLuke Shumaker
2022-08-21decode: Lean in to io.RuneScannerLuke Shumaker
2022-08-17Get the linter passing (even if it means ignoring borrowed files)Luke Shumaker
2022-08-17DecodeThenEOF: SimplifyLuke Shumaker