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
Greetings.
Your issue is a duplication of #53.
The solution is using map[string]interface{} for the representation of 'map' data type.
This happens because under the hood library parses just built-in types like strings, int, pointers, etc. and there is no reason for writing unmarshalling for each data type if a user could use map[string]interface with type assertion.
Please, help me with some workaround
Adresses: #53
A valid JSON API payload:
is not being able to be unmarshalled into the type
reporting errors:
One may respond that maps, as well as nested structures, are not supported by this library, but still, at least some workaround is needed.
The text was updated successfully, but these errors were encountered: