encoding/json: Unmarshal cannot unmarshal X into Go value of type Y does not tell you the field name #10141
When un-marshaling, go json decode does not report the context ( field name or path to the element) that has a type error. On large files this can be a problem. If you have nested objects it might be harder to find so ideally a stack of keys that form a path would be described if possible.
See stack overflow questions
Originally described in #10134 I have a possible solution there.
The text was updated successfully, but these errors were encountered: