summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-16reencode: utf8.RuneLen is showing up in the profileLuke Shumaker
2023-02-16encode: Avoid allocations when formatting integersLuke Shumaker
2023-02-16Avoid io.Writer causing buffers to escape to the heapLuke Shumaker
2023-02-16compat/json: Use fastio.Discard instead of io.DiscardLuke Shumaker
2023-02-16Merge branch 'lukeshu/misc'Luke Shumaker
2023-02-16reencode: Don't bother tracking the number of bytes writtenLuke Shumaker
2023-02-16Clean up the hex handlingLuke Shumaker
2023-02-16reencode: Update the doc comment about all the interfaces implementedLuke Shumaker
2023-02-16reencode: Don't have the ReEncoderConfig member be publicLuke Shumaker
2023-02-16Move string-encoding to an internal/jsonstring packageLuke Shumaker
2023-02-16mv compat/json/{compat,testcompat}_test.goLuke Shumaker
2023-02-10Merge branch 'lukeshu/reencode-io'Luke Shumaker
2023-02-10encoder, reencoder: Distinguish between syntax errors and I/O errorsLuke Shumaker
2023-02-10Merge branch 'lukeshu/panic'Luke Shumaker
2023-02-10tree-wide: Audit panic error messagesLuke Shumaker
These shouldn't happen, but if they do, then let's make it easier to debug.
2023-02-10Merge branch 'lukeshu/decode-no-panic'Luke 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
This doesn't help much now, but it will help next commit when I add a *DecodeError return value from .peekRuneType().
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
It may be useful to hit "ignore space change" when viewing this patch.
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-10Merge branch 'lukeshu/misc'Luke Shumaker
2023-02-10Use go:linkname instead of the awful internal/jsontest packageLuke Shumaker
2023-02-10compat/json: Don't use log.FatalLuke Shumaker
2023-02-10compat/json: Get more of the tests compilingLuke Shumaker
2023-02-10compat/json: Run the example testsLuke Shumaker
2023-02-10Be more careful about importing encoding/jsonLuke Shumaker
2023-02-10encode: Begone with encodeTODOLuke Shumaker
2023-02-10tree-wide: Update various references from Go 1.18 to Go 1.20Luke Shumaker
2023-02-10Prepare v0.3.5 releasev0.3.5Luke Shumaker
2023-02-10Merge branch 'lukeshu/go1.20'Luke Shumaker
2023-02-10Sync borrowed code from Go 1.20Luke Shumaker
New tests mean encode.go and compat.go also need some bugfixes.
2023-02-07Merge branch 'lukeshu/fixup'Luke Shumaker
2023-02-07compat: Enable the cache benchmarkLuke Shumaker
This should have been done back in 8aa12d3 (struct.go: Cache structIndexes, 2023-01-26)
2023-02-07Move struct-handling to internal/jsonstructLuke Shumaker
2023-02-07internal: Split in to sub-packagesLuke Shumaker
2023-02-07Fix being able to run the benchmarksLuke Shumaker
2023-02-07decode: Fix decoding an actively growing fileLuke Shumaker