Documentation ¶
Index ¶
- type Json
- func (m *Json) Array() []Json
- func (m *Json) Get(path string) *Json
- func (m *Json) Map(path string, def ...map[string]interface{}) map[string]interface{}
- func (m *Json) Set(path string, v interface{})
- func (m *Json) ToBytes() []byte
- func (m *Json) ToFile(filepath string) error
- func (m *Json) ToString() string
- func (m *Json) ToStruct(v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Json ¶
Json Json
func FromStruct ¶
func FromStruct(v interface{}) *Json
FromStruct parse struct to Json, like json.Marshal()
Click to show internal directories.
Click to hide internal directories.