Documentation ¶
Index ¶
- type Xjson
- func (j *Xjson) Assign(str string)
- func (j *Xjson) CompactString() string
- func (j *Xjson) Delete(path string)
- func (j *Xjson) Exist(path string) bool
- func (j *Xjson) ForEach(path string, cb func(key string, value string) bool)
- func (j *Xjson) GetArraySize(path string) int
- func (j *Xjson) GetBool(path string) bool
- func (j *Xjson) GetInt(path string) int
- func (j *Xjson) GetString(path string) string
- func (j *Xjson) IndentString() string
- func (j *Xjson) Reset()
- func (j *Xjson) Set(path string, val any)
- func (j *Xjson) String() string
- func (j *Xjson) Unmarshal(path string, val any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Xjson ¶
type Xjson struct {
// contains filtered or unexported fields
}
func NewFromFile ¶
func NewFromString ¶
func (*Xjson) CompactString ¶
func (*Xjson) GetArraySize ¶
func (*Xjson) IndentString ¶
Click to show internal directories.
Click to hide internal directories.