encoding/json: a way for MarshalJSON to skip marshaling a field? #4554
Labels
Milestone
Comments
issue #4357 is for this, via an explicit IsZero and using omitempty. Status changed to Duplicate. Merged into issue #4357. |
i don't think this is duplicate of issue #4357, because custom JSONMarshaler still need a way to skip marshaling the field (sort of IsZero and JSONMarshal combined). I'm just using issue #4357 as an example. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: