Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Number ¶
type Number int64
Number is an int64 which may be unmarshaled from a JSON string.
func (*Number) UnmarshalJSON ¶
UnmarshalJSON parses data as an integer, whether data is a number or string.
type Time ¶
Time is a convenience type used for unmarshaling a time.Time from a JSON- encoded timestamp in microseconds.
func (*Time) MarshalJSON ¶
MarshalJSON encodes a time.Time as a JSON number of microseconds.
func (*Time) UnmarshalJSON ¶
UnmarshalJSON parses a time.Time from a JSON number of microseconds.
Click to show internal directories.
Click to hide internal directories.