Documentation ¶
Index ¶
- func DecodeDate(i *jx.Decoder) (v time.Time, err error)
- func DecodeDateTime(i *jx.Decoder) (v time.Time, err error)
- func DecodeDuration(i *jx.Decoder) (v time.Duration, err error)
- func DecodeIP(i *jx.Decoder) (v net.IP, err error)
- func DecodeTime(i *jx.Decoder) (v time.Time, err error)
- func DecodeURI(i *jx.Decoder) (v url.URL, err error)
- func DecodeUUID(i *jx.Decoder) (v uuid.UUID, err error)
- func Encode(m Marshaler) []byte
- func EncodeDate(s *jx.Writer, v time.Time)
- func EncodeDateTime(s *jx.Writer, v time.Time)
- func EncodeDuration(s *jx.Writer, v time.Duration)
- func EncodeIP(s *jx.Writer, v net.IP)
- func EncodeTime(s *jx.Writer, v time.Time)
- func EncodeURI(s *jx.Writer, v url.URL)
- func EncodeUUID(s *jx.Writer, v uuid.UUID)
- func Marshal(val interface{}) ([]byte, error)
- func Unmarshal(data []byte, val interface{}) error
- type Marshaler
- type Nullable
- type Resettable
- type Settable
- type Unmarshaler
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeUUID ¶
DecodeUUID decodes UUID from json.
Types ¶
type Settable ¶
type Settable interface {
IsSet() bool
}
Settable value can be set (present) or unset (i.e. not provided or undefined).
type Unmarshaler ¶
Unmarshaler implements json reading.
Click to show internal directories.
Click to hide internal directories.