Documentation ¶
Index ¶
- Variables
- type Codec
- type Value
- func (v *Value) Bool() bool
- func (v *Value) EachIndex(f func(i int, v *Value) bool)
- func (v *Value) EachKey(f func(k string, v *Value) bool)
- func (v *Value) Find(f func(v *Value) (ok, end bool)) <-chan *Value
- func (v *Value) Float() float64
- func (v *Value) Get(k string) *Value
- func (v *Value) Has(k string) bool
- func (v *Value) Index(i int) *Value
- func (v *Value) Int() int64
- func (v *Value) IsArray() bool
- func (v *Value) IsBool() bool
- func (v *Value) IsNumber() bool
- func (v *Value) IsObject() bool
- func (v *Value) IsString() bool
- func (v *Value) Isolate() *Value
- func (v *Value) Keys() []string
- func (v *Value) Len() int
- func (v *Value) Marshal() (data []byte, err error)
- func (v *Value) Parent() *Value
- func (v *Value) ParentIndex() int
- func (v *Value) ParentKey() string
- func (v *Value) Slice(i, j int) *Value
- func (v *Value) String() string
- func (v *Value) Traversal(f func(v *Value) (end bool))
- func (v *Value) TryGet(k string) (*Value, bool)
- func (v *Value) Unmarshal(dst interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( JSON = Codec{jsonMarshal, jsonUnmarshal} DefaultCodec = JSON )
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
func (*Value) ParentIndex ¶
Click to show internal directories.
Click to hide internal directories.