Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONMarshal ¶
Types ¶
type Bool ¶
Bool represents a bool that may be null.
func (Bool) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Bool) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type Byte ¶
Byte represents a byte that may be null.
func (Byte) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Byte) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type Float32 ¶
Float32 represents a float32 that may be null.
func (Float32) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Float32) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type Float64 ¶
Float64 represents a float64 that may be null.
func (Float64) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Float64) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type Int ¶
Int represents a int that may be null.
func (Int) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Int) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type Int16 ¶
Int16 represents a int16 that may be null.
func (Int16) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Int16) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type Int32 ¶
Int32 represents a int32 that may be null.
func (Int32) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Int32) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type Int64 ¶
Int64 represents a int64 that may be null.
func (Int64) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Int64) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type Int8 ¶
Int8 represents a int8 that may be null.
func (Int8) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Int8) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type String ¶
String represents a string that may be null.
func (String) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*String) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.
type Time ¶
Time represents a bool that may be null.
func (Time) MarshalJSON ¶
MarshalJSON encode the value to JSON.
func (*Time) UnmarshalJSON ¶
UnmarshalJSON decode data to the value.