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
The default golang JSON (un)marshal implementation respects omitempty inside a field's tag which will effectively omit such field from the resulting JSON if it's not defined in a given struct.
Fieldint`json:"myName,omitempty"`
I was wondering if there's any interest in such feature for this library - i.e. support something like this:
Activity
unknwon commentedon Aug 3, 2016
Sounds good, feel free to send PR.
radeksimko commentedon Aug 3, 2016
See #60