Repository navigation
refactor: replace goccy/go-json with encoding/json/v2 - #840
Merged
rustatian merged 3 commits intoOct 8, 2026
Merged
Conversation
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json) from 0.11.1 to 0.11.2. - [Release notes](https://github.com/goccy/go-json/releases) - [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md) - [Commits](goccy/go-json@v0.11.1...v0.11.2) --- updated-dependencies: - dependency-name: github.com/goccy/go-json dependency-version: 0.11.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
The codec uses encoding/json/v2 with the v1 option set. The PHP SDK wire format depends on v1 semantics: durations as nanoseconds in the SDK option structs, case-insensitive field names and legacy omitempty. Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
…es/github.com/goccy/go-json-0.11.2 Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com> # Conflicts: # go.mod # go.sum # internal/codec/proto/proto.go # tests/go.mod # tests/go.sum
rustatian
approved these changes
Oct 8, 2026
rustatian
deleted the
dependabot/go_modules/github.com/goccy/go-json-0.11.2
branch
October 8, 2026 21:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reason for This PR
Remove the
github.com/goccy/go-jsondependency and use the standard libraryencoding/json/v2.Description of Changes
encoding/json/v2withencoding/json.DefaultOptionsV1(). The PHP SDK wire format depends on v1 semantics: durations as nanoseconds in the SDK option structs, case-insensitive field names and legacyomitempty.License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the MIT license.
PR Checklist
git commit -s).CHANGELOG.md.