Documentation
¶
Index ¶
- Constants
- type GJSON
- func (t *GJSON) AddItem() (result *GJSON)
- func (t *GJSON) GetArray(k string) (result *GJSON)
- func (t *GJSON) GetBool(k string) bool
- func (t *GJSON) GetBytes(k string) []byte
- func (t *GJSON) GetFloat64(k string) float64
- func (t *GJSON) GetInt(k string) int
- func (t *GJSON) GetInt64(k string) int64
- func (t *GJSON) GetObject(k string) (result *GJSON)
- func (t *GJSON) GetString(k string) string
- func (t *GJSON) GetTime(k string) (result time.Time)
- func (t *GJSON) Interface() interface{}
- func (t *GJSON) IsExist(k string) bool
- func (t *GJSON) Item(index int) (result *GJSON)
- func (t *GJSON) ItemCount() (num int)
- func (t *GJSON) Load(s string) (err error)
- func (t *GJSON) SetArray(k string, v GJSON)
- func (t *GJSON) SetBool(k string, v bool)
- func (t *GJSON) SetBytes(k string, v []byte)
- func (t *GJSON) SetFloat64(k string, v float64)
- func (t *GJSON) SetInt(k string, v int)
- func (t *GJSON) SetObject(k string, v GJSON)
- func (t *GJSON) SetString(k, v string)
- func (t *GJSON) ToString() string
- type GjsonType
Constants ¶
View Source
const ( TypeObject TypeArray )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GJSON ¶
type GJSON struct {
// contains filtered or unexported fields
}
GJSON struct
func (*GJSON) GetFloat64 ¶
func (*GJSON) SetBool ¶
////////////////////////////////////////////////Set*/////////////////////////
func (*GJSON) SetFloat64 ¶
Click to show internal directories.
Click to hide internal directories.