parsing map[string]CustomStruct #308
Unanswered
jack-evans
asked this question in
Q&A
Replies: 1 comment 4 replies
-
If CustomStruct implements TextUnmarshaler it should be possible, I think. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to parse the above automatically or do I need to parse it as a map[string]interface{} and then cast the interface{} to the struct I want?
Beta Was this translation helpful? Give feedback.
All reactions