Documentation
¶
Index ¶
- func Marshal(v interface{}) ([]byte, error)
- func Unmarshal(data []byte, v interface{}) error
- type Array
- type Object
- func (obj *Object) ForEach(fn func(string, *Object))
- func (obj *Object) ForEachArray(fn func(string, *Array))
- func (obj *Object) Get(key string) interface{}
- func (obj *Object) GetArray(key string) *Array
- func (obj *Object) GetByKeys(keyStr string) interface{}
- func (obj *Object) GetObject(key string) *Object
- func (obj *Object) ToString() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
func (*Array) ForEachArray ¶
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
func NewJsonObject ¶
func NewJsonObjectWithMap ¶
func (*Object) ForEachArray ¶
Click to show internal directories.
Click to hide internal directories.