Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedToken = errors.New("unexpected token")
ErrUnexpectedToken is the error returned when an unexpected token is found while decoding (i.e. unmarshalling) an ordered map.
Functions ¶
This section is empty.
Types ¶
type Ordered ¶
Ordered is a structure that keeps a JSON map preserving the order of the keys as they were in the original JSON object.
func (Ordered) MarshalJSON ¶
func (*Ordered) UnmarshalJSON ¶
UnmarshalJSON unmarshal a JSON object into an Ordered map.
Click to show internal directories.
Click to hide internal directories.