Documentation ¶
Index ¶
- func Marshal(val interface{}) ([]byte, error)
- func MustMarshal(val interface{}) []byte
- func Unmarshal(data []byte) (interface{}, error)
- func UnmarshalInto(dst interface{}, src []byte) error
- type Object
- func (o *Object) Append() *Object
- func (o *Object) Bool() bool
- func (o *Object) Bytes() []byte
- func (o *Object) Class() *Object
- func (o *Object) Delete() error
- func (o *Object) Each(callback func(interface{}, *Object) error) error
- func (o *Object) EachSimple(callback func(*Object, *Object) error) error
- func (o *Object) Get(key interface{}) *Object
- func (o *Object) Int() int
- func (o *Object) Int64() int64
- func (o *Object) Len() int
- func (o *Object) Set(value interface{}) error
- func (o *Object) String() string
- func (o *Object) Type() Type
- func (o *Object) Uint64() uint64
- func (o *Object) Value() interface{}
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustMarshal ¶
func MustMarshal(val interface{}) []byte
func UnmarshalInto ¶
Types ¶
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
func (*Object) EachSimple ¶
Click to show internal directories.
Click to hide internal directories.