Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NullType = []byte("null")
Functions ¶
This section is empty.
Types ¶
type NullArr ¶
type NullArr struct { Arr []interface{} Valid bool }
func NewNullArr ¶
func (*NullArr) UnmarshalJSON ¶
UnmarshalJSON method
type NullArrObj ¶
func NewNullArrObj ¶
func NewNullArrObj(arrayObject []map[string]interface{}, valid bool) NullArrObj
func (NullArrObj) MarshalJSON ¶
func (na NullArrObj) MarshalJSON() ([]byte, error)
MarshalJSON method
func (*NullArrObj) UnmarshalJSON ¶
func (na *NullArrObj) UnmarshalJSON(data []byte) error
UnmarshalJSON method
type NullJSON ¶
type NullJSON struct { Json json.RawMessage Valid bool }
func NewNullJSON ¶
func (*NullJSON) UnmarshalJSON ¶
UnmarshalJSON method
type NullString ¶
func NewNullString ¶
func NewNullString(str string, valid bool) NullString
func (NullString) MarshalJSON ¶
func (ns NullString) MarshalJSON() ([]byte, error)
MarshalJSON method
func (*NullString) UnmarshalJSON ¶
func (ns *NullString) UnmarshalJSON(data []byte) error
UnmarshalJSON method
type NullTime ¶
func (*NullTime) UnmarshalJSON ¶
UnmarshalJSON method
type NullULID ¶
type NullULID struct { ULID ulid.ULID Valid bool }
func NewNullULID ¶
func (*NullULID) UnmarshalJSON ¶
UnmarshalJSON method
type NullUUID ¶
func (*NullUUID) UnmarshalJSON ¶
UnmarshalJSON method
Click to show internal directories.
Click to hide internal directories.