Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OmitEmpty ¶
type OmitEmpty struct {
StrE, StrNE string `json:",omitempty"`
PtrE, PtrNE *string `json:",omitempty"`
IntNE int `json:"intField,omitempty"`
IntE int `json:",omitempty"`
// NOTE: omitempty has no effect on non-pointer struct fields.
SubE, SubNE SubStruct `json:",omitempty"`
SubPE, SubPNE *SubStruct `json:",omitempty"`
}
type OmitEmptyDefault ¶
type PrimitiveTypes ¶
type Raw ¶
type Raw struct { Field easyjson.RawMessage Field2 string }
type SnakeStruct ¶
type StdMarshaler ¶
Click to show internal directories.
Click to hide internal directories.