Versions in this module Expand all Collapse all v0 v0.1.0 Mar 22, 2020 Changes in this version + var NoValueError = errors.New("No value for this key") + func DeepCopyJSONValue(x interface{}) interface + func NestedBool(obj *OrderedMap, fields ...string) (bool, bool, error) + func NestedFieldCopy(obj *OrderedMap, fields ...string) (interface{}, bool, error) + func NestedFieldNoCopy(obj *OrderedMap, fields ...string) (interface{}, bool, error) + func NestedFloat64(obj *OrderedMap, fields ...string) (float64, bool, error) + func NestedInt64(obj *OrderedMap, fields ...string) (int64, bool, error) + func NestedSlice(obj *OrderedMap, fields ...string) ([]interface{}, bool, error) + func NestedString(obj *OrderedMap, fields ...string) (string, bool, error) + func NestedStringMap(obj *OrderedMap, fields ...string) (map[string]string, bool, error) + func NestedStringSlice(obj *OrderedMap, fields ...string) ([]string, bool, error) + func RemoveNestedField(obj *OrderedMap, fields ...string) + func SetNestedField(obj *OrderedMap, value interface{}, fields ...string) error + func SetNestedMap(obj *OrderedMap, value OrderedMap, fields ...string) error + func SetNestedSlice(obj *OrderedMap, value []interface{}, fields ...string) error + func SetNestedStringMap(obj *OrderedMap, value map[string]string, fields ...string) error + func SetNestedStringSlice(obj *OrderedMap, value []string, fields ...string) error + type ByIndex []KeyIndex + func (a ByIndex) Len() int + func (a ByIndex) Less(i, j int) bool + func (a ByIndex) Swap(i, j int) + type ByPair struct + LessFunc func(a *Pair, j *Pair) bool + Pairs []*Pair + func (a ByPair) Len() int + func (a ByPair) Less(i, j int) bool + func (a ByPair) Swap(i, j int) + type KeyIndex struct + Index int + Key string + type OrderedMap struct + func DeepCopyJSON(x *OrderedMap) *OrderedMap + func NestedMap(obj *OrderedMap, fields ...string) (*OrderedMap, bool, error) + func New() *OrderedMap + func (o *OrderedMap) DeepCopy() *OrderedMap + func (o *OrderedMap) DeepCopyInto(out *OrderedMap) + func (o *OrderedMap) Delete(key string) + func (o *OrderedMap) Entry(key string) interface{} + func (o *OrderedMap) Get(key string) (interface{}, bool) + func (o *OrderedMap) IsZero() bool + func (o *OrderedMap) Keys() []string + func (o *OrderedMap) Len() int + func (o *OrderedMap) Set(key string, value interface{}) + func (o *OrderedMap) Sort(lessFunc func(a *Pair, b *Pair) bool) + func (o *OrderedMap) SortKeys(sortFunc func(keys []string)) + func (o *OrderedMap) UnmarshalJSON(b []byte) error + func (o OrderedMap) MarshalJSON() ([]byte, error) + type Pair struct + func (kv *Pair) Key() string + func (kv *Pair) Value() interface{}