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
and both failed with the following error: Unknown type map[string]interface{} for field data
Here, UnMarDictionary implements the MarshalerJSONArray, MarshalerJSONObject, UnmarshalerJSONArray and UnmarshalerJSONObject. Since, UnMarClassroom has Students UnMarDictionary under the hood, when I generate the gojay code for UnMarClassroom, I was expecting that gojay would skip generating the code for UnMarDictionary.
Am I doing it in the wrong way? Please help.
The text was updated successfully, but these errors were encountered:
I have been facing an issue with the gojay generator for
map[string]interface{}
field. Let me share the code first:I am trying to generate the gojay code for
PlainClassroom
andUnMarClassroom
.I tried
and both failed with the following error:
Unknown type map[string]interface{} for field data
Here,
UnMarDictionary
implements theMarshalerJSONArray
,MarshalerJSONObject
,UnmarshalerJSONArray
andUnmarshalerJSONObject
. Since,UnMarClassroom
hasStudents UnMarDictionary
under the hood, when I generate the gojay code forUnMarClassroom
, I was expecting that gojay would skip generating the code forUnMarDictionary
.Am I doing it in the wrong way? Please help.
The text was updated successfully, but these errors were encountered: