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
If I have 3 fields in a struct and the second one has a different type between the struct and the incoming json, encoding/json fills the struct with the other 2 fields but the goccy/go-json is filling the struct until the first UnmarshalTypeError.
If I have 3 fields in a struct and the second one has a different type between the struct and the incoming json, encoding/json fills the struct with the other 2 fields but the goccy/go-json is filling the struct until the first UnmarshalTypeError.
This could be seen in the following test:
The field Value in json is not a int value. The encoding/json fills the Name and Description fields, but goccy/go-json only fills the Name field.
The text was updated successfully, but these errors were encountered: