summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-29struct: Rework the arguments of indexStructInner to make more senseLuke Shumaker
2023-01-29parse: Change the StringBeg/StringEnd symbolsLuke Shumaker
IDK if my eyes are worse, or something changed with my font stack, but I can no longer visually distinguish “ and ” so use " and » instead. Plus » psycologically registers as "kinda special", so it's less confusing to see as an object-thing in a stack.
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
2023-01-25compat/json: Don't forget to alias json.UnmarshalerLuke Shumaker
2023-01-25mv LICENSE LICENSE.txtLuke Shumaker
2023-01-25LICENSE: Split the GPL to a separate fileLuke Shumaker
I'm hoping the pkg.go.dev will now detect it as "BSD-3-Clause, GPL-2.0-or-later" instead of "BSD-3-Clause, GPL-2.0, GPL-2.0-or-later".
2022-09-19Combine all of the license files in to a single LICENSEv0.1.0Luke Shumaker
In hopes of appeasing the pkg.go.dev license detector. I chose "LICENSE" instead of "COPYING.txt" so I wouldn't need to edit the statements in all of the borrowed_*.go files.
2022-09-19Give every .go file an SPDX-License-IdentifierLuke Shumaker
2022-08-30Allow calling lowmemjson.Encode at the root of EncodeJSONLuke 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
So that it's easier to compose your own .DecodeJSON methods, since .DecodeJSON takes an io.RuneScanner.
2022-08-18Add more reencode testsLuke Shumaker
2022-08-17Get the borrowed files passing the linterLuke Shumaker
2022-08-17Get the linter passing (even if it means ignoring borrowed files)Luke Shumaker
2022-08-17reencode: Implement CompactIfUnderLuke Shumaker
2022-08-17reencode: Encapsulate the handleRune state in a structLuke Shumaker
2022-08-17reencode: Split handleRune in to pre- and post- partsLuke Shumaker
2022-08-17Add more tests around trailing-newlines from the encoderLuke Shumaker
2022-08-17DecodeThenEOF: SimplifyLuke Shumaker
2022-08-17Get the new borrowed tests passingLuke Shumaker
2022-08-17Get the new borrowed tests running right [ci-skip]Luke Shumaker
2022-08-17Borrow more test files [ci-skip]Luke Shumaker
2022-08-17decode: Don't be greedy unless we're looking for EOFLuke Shumaker
2022-08-17Fix those now-failing error checksLuke Shumaker
2022-08-17borrowed_decode_test.go: Do better checking of errors [ci-skip]Luke Shumaker
2022-08-17Add tests for decode reading too farLuke Shumaker
2022-08-16decode_scan_test.go: Factor out a common test runnerLuke Shumaker
2022-08-16reencode: drop the bailAfterCurrent mechanismLuke Shumaker
2022-08-16Indicate why each of the lines in borrowed files were MODIFIEDLuke Shumaker
2022-08-16compat: Factor out convertXXXError functionsLuke Shumaker
2022-08-16encode: Don't use generics for encodeStringLuke Shumaker
2022-08-16Run the fuzzer a bitLuke Shumaker
2022-08-16Get borrowed_decode_test.go passingLuke Shumaker
2022-08-16Get borrowed_encode_test.go passing [ci-skip]Luke Shumaker
2022-08-16Get borrowed_scanner_test.go passing [ci-skip]Luke Shumaker
2022-08-16Push nesting-depth checks down in to the parser [ci-skip]Luke Shumaker
2022-08-16wip: 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-15Makefile: Add tools for diffing borrowed files against upstreamLuke Shumaker
2022-08-15rename parse_scan decode_scan parse_scan*Luke Shumaker
2022-08-15Create a compat/json compatibility libraryLuke Shumaker
2022-08-15mkdir -p compat/json && mv borrowed_*_test.go compat/json/ # [ci-skip]Luke Shumaker
2022-08-14decode: Switch over to ParserLuke Shumaker
2022-08-14parse_scan: Add reader abstractions on top of ParserLuke Shumaker
2022-08-14reencode: Switch to use ParserLuke Shumaker
2022-08-14reencode: Rethink the string backslash encoderLuke Shumaker
2022-08-14decode: Switch from ReEncoder to ParserLuke Shumaker
2022-08-14parse: Figure out a good end-of-number system, improve commentsLuke Shumaker