Open nstogner opened 8 years ago
I think it would be more desirable to translate {"abc": {}} as
{"abc": {}}
... Abc interface{} `json:"abc"`
rather than
... Abc struct{} `json:"abc"`
The empty interface would be more useful than a struct with no fields. Does this sound reasonable?
I think it would be more desirable to translate
{"abc": {}}
asrather than
The empty interface would be more useful than a struct with no fields. Does this sound reasonable?