You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I have switched to go-json to try it out and noticed the marshalling of same data structure with go-json comparing with encoding/json causes a panic runtime error: slice bounds out of range [206158430215:52]
Go version go version go1.22.5 darwin/arm64 (reproducble also on x86 in docker)
Also noticed there is no panic if I replace tag json:"-" with json:"id" in Condition struct below.
Minimal code block to reporoduce:
Recently I have switched to go-json to try it out and noticed the marshalling of same data structure with go-json comparing with encoding/json causes a panic
runtime error: slice bounds out of range [206158430215:52]
Go version
go version go1.22.5 darwin/arm64
(reproducble also on x86 in docker)Also noticed there is no panic if I replace tag
json:"-"
withjson:"id"
in Condition struct below.Minimal code block to reporoduce:
Result:
The text was updated successfully, but these errors were encountered: