summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-18decode_scan: Add a bunch of testsLuke Shumaker
2023-02-18decode_scan: Go ahead and decrement sc.offset when unreadingLuke Shumaker
2023-02-18decode_scan: PopReadBarrier, Reset: De-couple the .repeat and EOF casesLuke Shumaker
This duplicates code, but it's confusing thinking about them together.
2023-02-18decode_scan: Move Reset() to be by PopReadBarrier()Luke Shumaker
2023-02-18jsonparse: Fix a mistake in the commentsLuke Shumaker
2023-02-18jsonparse: Remove barrier.closed, as it is always falseLuke Shumaker
2023-02-18fastio: NewAllWriter: Add a special case for io.DiscardLuke Shumaker
2023-02-16ReleaseNotes.md: Fix a typoLuke Shumaker
2023-02-16Prepare v0.3.6 releasev0.3.6Luke Shumaker
2023-02-16Merge branch 'lukeshu/reencode-refactor'Luke Shumaker
2023-02-16reencode: Factor into separate modulesLuke Shumaker
2023-02-16Merge branch 'lukeshu/perf'Luke Shumaker
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