Documentation
¶
Index ¶
- Variables
- type Value
- func (v *Value) AddElement() *Value
- func (v *Value) AddField(key string) *Value
- func (v *Value) Array() []*Value
- func (v *Value) AsArray(value []*Value)
- func (v *Value) AsBool(ok bool)
- func (v *Value) AsFloat(value float64)
- func (v *Value) AsInt(value int64)
- func (v *Value) AsNull()
- func (v *Value) AsObject(value map[string]*Value)
- func (v *Value) AsString(value string)
- func (v *Value) Ensure(path ...string) *Value
- func (v *Value) Float() float64
- func (v *Value) Get(path ...string) *Value
- func (v *Value) Int() int64
- func (v *Value) IsArray() bool
- func (v *Value) IsBool() bool
- func (v *Value) IsFalse() bool
- func (v *Value) IsInt() bool
- func (v *Value) IsNull() bool
- func (v *Value) IsNumber() bool
- func (v *Value) IsObject() bool
- func (v *Value) IsString() bool
- func (v *Value) IsTrue() bool
- func (v *Value) Object() map[string]*Value
- func (v *Value) String() string
- func (v *Value) Value() interface{}
Constants ¶
This section is empty.
Variables ¶
View Source
var NULL = null(0)
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
func (*Value) AddElement ¶
Click to show internal directories.
Click to hide internal directories.