Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AStruct ¶
func (AStruct) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (AStruct) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*AStruct) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*AStruct) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type BStruct ¶
type BStruct struct {
Image string
}
func (BStruct) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (BStruct) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*BStruct) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BStruct) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type TestingStruct ¶
type TestingStruct struct {
Int int
Int8 int8
Int16 int16
Int32 int32
Int64 int64
String string
Bool bool
Duration time.Duration
SString []string
SInt []int
SInt8 []int8
SInt16 []int16
SInt32 []int32
SInt64 []int64
SFloat32 []float32
SFloat64 []float64
SBool []bool
Struct AStruct
}
func (*TestingStruct) Equals ¶
func (s *TestingStruct) Equals(other any) bool
func (TestingStruct) MarshalEasyJSON ¶
func (v TestingStruct) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (TestingStruct) MarshalJSON ¶
func (v TestingStruct) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*TestingStruct) UnmarshalEasyJSON ¶
func (v *TestingStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*TestingStruct) UnmarshalJSON ¶
func (v *TestingStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.