Documentation ¶
Index ¶
- type JsonObject
- func (jobj *JsonObject) Append(value interface{})
- func (jobj JsonObject) AsArray() []*JsonObject
- func (jobj JsonObject) AsBool() bool
- func (jobj JsonObject) AsFloat() float64
- func (jobj JsonObject) AsInt() int64
- func (jobj JsonObject) AsMap() map[string]*JsonObject
- func (jobj JsonObject) AsString() string
- func (jobj JsonObject) AsStrut(dst interface{})
- func (jobj JsonObject) Get(key string) *JsonObject
- func (jobj JsonObject) MarshalJSON() ([]byte, error)
- func (jobj *JsonObject) Put(key string, value interface{})
- func (jobj JsonObject) ToJsonString() string
- func (jobj *JsonObject) UnmarshalJSON(src []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonObject ¶
type JsonObject struct {
// contains filtered or unexported fields
}
func NewJsonArray ¶
func NewJsonArray() *JsonObject
func NewJsonObject ¶
func NewJsonObject() *JsonObject
func (*JsonObject) Append ¶
func (jobj *JsonObject) Append(value interface{})
func (JsonObject) AsArray ¶
func (jobj JsonObject) AsArray() []*JsonObject
func (JsonObject) AsBool ¶
func (jobj JsonObject) AsBool() bool
func (JsonObject) AsFloat ¶
func (jobj JsonObject) AsFloat() float64
func (JsonObject) AsInt ¶
func (jobj JsonObject) AsInt() int64
func (JsonObject) AsMap ¶
func (jobj JsonObject) AsMap() map[string]*JsonObject
func (JsonObject) AsString ¶
func (jobj JsonObject) AsString() string
func (JsonObject) AsStrut ¶
func (jobj JsonObject) AsStrut(dst interface{})
func (JsonObject) Get ¶
func (jobj JsonObject) Get(key string) *JsonObject
func (JsonObject) MarshalJSON ¶
func (jobj JsonObject) MarshalJSON() ([]byte, error)
func (*JsonObject) Put ¶
func (jobj *JsonObject) Put(key string, value interface{})
func (JsonObject) ToJsonString ¶
func (jobj JsonObject) ToJsonString() string
func (*JsonObject) UnmarshalJSON ¶
func (jobj *JsonObject) UnmarshalJSON(src []byte) error
Click to show internal directories.
Click to hide internal directories.