Documentation ¶
Index ¶
Constants ¶
View Source
const ( ValidatorKey = "ValidatorKey" TranslatorKey = "TranslatorKey" )
Variables ¶
View Source
var ( // change to false, if you don't need json.Number to represent Numbers UseNumber bool = true )
Functions ¶
Types ¶
type OrderedArray ¶
type OrderedArray []interface{}
func (OrderedArray) MarshalJSON ¶
func (arr OrderedArray) MarshalJSON() ([]byte, error)
MarshalJSON implementation of interface Marshaler
func (*OrderedArray) UnmarshalJSON ¶
func (arr *OrderedArray) UnmarshalJSON(b []byte) error
type OrderedMap ¶
type OrderedMap struct {
Values []OrderedValue
}
func (OrderedMap) MarshalJSON ¶
func (om OrderedMap) MarshalJSON() ([]byte, error)
MarshalJSON implementation of interface Marshaler
func (*OrderedMap) UnmarshalJSON ¶
func (om *OrderedMap) UnmarshalJSON(b []byte) error
UnmarshalJSON implementation of interface Unmarshaler
type OrderedValue ¶
type OrderedValue struct { Key string Value interface{} }
Click to show internal directories.
Click to hide internal directories.