summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-30decode: Remove unnecessary scanner struct membersLuke Shumaker
2023-01-30parse: Simplify the stack states for arraysLuke Shumaker
We already have a wildcard, no need to invent a new state.
2023-01-30decode: Tidy up DecodeObject and DecodeArrayLuke Shumaker
2023-01-30decode: Fix DecodeTypeError offsetsLuke Shumaker
2023-01-30decode: s/stack/structStack/Luke Shumaker
This should make the next commit less noisy.
2023-01-30Add a ReleaseNotes.md fileLuke Shumaker
2023-01-30Add a .editorconfig fileLuke Shumaker
2023-01-30encode: Fix errors for marshalers/encodables with bad outputLuke Shumaker
2023-01-29Move things between filesLuke Shumaker
2023-01-29parse: Add an example of how the stack works for arrays, add testsLuke Shumaker
2023-01-29Merge branch 'lukeshu/quality'Luke Shumaker
This branch works to improve code quality, without making any substantive changes.
2023-01-29parse: Add a runeTypeAny instead of overloading RuneTypeErrorLuke Shumaker
It was confusing.
2023-01-29HexToInt: No need to be genericLuke Shumaker
It's only used with a rune.
2023-01-29Move the base64 decode to the internal packageLuke Shumaker
2023-01-29.golangci.yml: Turn on 'stylecheck', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on 'prealloc', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on 'paralleltest', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on 'noctx', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on 'nakedret', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on 'godot', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on 'gocritic', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on 'dupword', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on 'dupl', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on all passing lintersLuke Shumaker
2023-01-29.golangci.yml: Turn on gosec and nolintlintLuke Shumaker
These are linters that I always like to give extra configuration to.
2023-01-29.golangci.yml: Tighten up the configs of existing lintersLuke Shumaker
2023-01-29.golangci.yml: Turn on formatting linters 'gci' and 'gofumpt', fixLuke Shumaker
All formatting changes are made by ./tools/bin/golangci-lint run --fix ./...
2023-01-29.golangci.yml: Don't hide issues from meLuke Shumaker
2023-01-29.golangci.yml: Fix syntaxLuke Shumaker
2023-01-29tools: Upgrade golangci-lintLuke Shumaker
2023-01-29Improve/fix documentation and commentsLuke Shumaker
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