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
{{ message }}
This repository was archived by the owner on Dec 15, 2025. It is now read-only.
var (
jsonToTest = []byte("{"Tfloat":1.122e+250}")
)
func main() {
n := TestStruct{}
err := jsoniter.Unmarshal(jsonToTest, &n)
if err != nil {
panic(err)
}
log.Println("Original:", n)
}
with large number the jsoniter.Any is broken
error message is like:
panic: main.TestStruct.Tfloat: strconv.ParseFloat: parsing "1.122e+250": value out of range