Documentation ¶
Index ¶
- func CutJsonDataWithFields(jsonData *string, fields []string) *string
- func Marshal(v interface{}) ([]byte, error)
- func MarshalIndent(v interface{}, prefix, indent string) ([]byte, error)
- func MarshalToString(v interface{}) (string, error)
- func Unmarshal(data []byte, v interface{}) error
- func UnmarshalArray(items []string, result interface{}) error
- func UnmarshalFromString(str string, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CutJsonDataWithFields ¶
CutJsonDataWithFields cut jsonData and only return the "fields" be targeted. jsonData can not be nil, and must be a json string
func MarshalIndent ¶
func MarshalToString ¶
func UnmarshalArray ¶
func UnmarshalFromString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.