encoding/json: add the full path to the field in UnmarshalTypeError #22369
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Suggested
Issues that may be good for new contributors looking for work to do.
Milestone
go1.9.1 linux/amd64
I parse some JSON with nested objects on the server, and I cannot find the actual path to a nested field in
UnmarshalTypeError
. An example below.Body payload:
What I expect to see
What I see instead
Such field like
Path
may be used to render detailed errors for some REST API.The text was updated successfully, but these errors were encountered: