Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReinterpretJSONNumbers ¶
func ReinterpretJSONNumbers(val interface{}) (interface{}, error)
Types ¶
type JSONSerializable ¶
type JSONSerializable struct { Val interface{} Valid bool }
func (*JSONSerializable) Empty ¶
func (js *JSONSerializable) Empty() bool
func (JSONSerializable) MarshalJSON ¶
func (js JSONSerializable) MarshalJSON() ([]byte, error)
MarshalJSON implements custom marshaling logic
func (*JSONSerializable) Scan ¶
func (js *JSONSerializable) Scan(value interface{}) error
func (*JSONSerializable) UnmarshalJSON ¶
func (js *JSONSerializable) UnmarshalJSON(bs []byte) error
UnmarshalJSON implements custom unmarshaling logic
Click to show internal directories.
Click to hide internal directories.