-
-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Description
We had a situation like
type WLB struct {
Accessmask []string `json:"accesmask"`
...But sometimes in our dataset, this field was actually just a string.
The error that the json.Decoder.decode() was json: slice unexpected end of JSON input.
Shouldn't the error be that the value doesn't have the expected type instead?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels