Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONObj ¶
type JSONObj map[string]interface{}
JSONObj json 对象, 序列化的时候,变成纯字符串
func (JSONObj) String ¶
func (m JSONObj) String() JSONString
type JSONString ¶
type JSONString string
JSONString json 字符串 在json序列化的时候,会把json字符串转成 object
func (JSONString) JSON ¶
func (s JSONString) JSON(v interface{}) error
func (JSONString) MarshalJSON ¶
func (s JSONString) MarshalJSON() ([]byte, error)
MarshalJSON 格式化为json字符串的时候,会格式化成 object
Click to show internal directories.
Click to hide internal directories.