summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-22Add test-cases for byte arraysLuke Shumaker
2023-07-22reencode: Fix a typo in a commentLuke Shumaker
2023-02-26Merge branch 'lukeshu/obj-sort'Luke Shumaker
2023-02-25encode: Sort maps by the pre-string-encoded keyLuke Shumaker
2023-02-25Prepare v0.3.8 releasev0.3.8Luke Shumaker
2023-02-25Merge branch 'lukeshu/syntax'Luke Shumaker
2023-02-25jsonparse: Fix a bug allowing a trailing comma in objectsLuke Shumaker
2023-02-25Merge branch 'lukeshu/fuzz-err'Luke Shumaker
2023-02-25reencode: Improve the error messages for trailing partial-UTF-8Luke Shumaker
2023-02-25reencode: Fix the byte count for partial writesLuke Shumaker
2023-02-25compat/json: compat_test.go: Change the package to "json_test"Luke Shumaker
2023-02-25compat/json: Handle io.EOF and io.ErrUnexpectedEOF the sameLuke Shumaker
2023-02-25jsonparse: Don't show raw bytes as UnicodeLuke Shumaker
2023-02-25jsonparse: Define an InvalidCharacterError type instead of using fmt.ErrorfLuke Shumaker
2023-02-25jsonparse: Reword error messages to match encoding/jsonLuke Shumaker
2023-02-25decode: Include the invalid UTF-8 byte in error messagesLuke Shumaker
2023-02-25Fuzz for equivalence between stdlib and lowmemjsonLuke Shumaker
2023-02-25decode: Touch up a panic error messageLuke Shumaker
2023-02-25compat/json: Unify the error conversionLuke Shumaker
2023-02-25Merge branch 'lukeshu/decode-string'Luke Shumaker
2023-02-25decode: Add a DecodeArray functionLuke Shumaker
2023-02-25Merge branch 'lukeshu/decode-type-errors'Luke 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-20Prepare v0.3.7 releasev0.3.7Luke Shumaker
2023-02-20Merge branch 'lukeshu/fixes'Luke Shumaker
2023-02-19compat/json: Correctly handle syntax-error-in-decodeLuke Shumaker
2023-02-18reencode: Don't normalize the capitalization of \uXXXX hex escapesLuke Shumaker
2023-02-18compat/json: Indent: Preserve trailing whitespaceLuke Shumaker
2023-02-18compat/json: Don't do actual JSON parsing in HTMLEscapeLuke Shumaker
2023-02-18reencode: Add CompactFloatsLuke Shumaker
2023-02-18encode, reencode: Fix handling of invalid UTF-8Luke Shumaker
2023-02-18reencode: Fix .stackSizeLuke Shumaker
2023-02-18reencode: Rethink the UTF-8 bufferLuke Shumaker
2023-02-18compat/json: Compact, Indent: Clear the output if there's an errorLuke Shumaker
2023-02-18compat/json: Valid: Check for EOFLuke Shumaker
2023-02-18reencode: Fix trimming trailing zerosLuke Shumaker
2023-02-18Merge branch 'lukeshu/scan-behavior'Luke Shumaker
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-18Merge branch 'lukeshu/scan-tidy'Luke Shumaker
2023-02-18decode_scan: Fix a doc commentLuke Shumaker
2023-02-18decode_scan: s/initialized/rTypeOK/Luke Shumaker
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