Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Any ¶
Any alias to jsoniter.Any
func GetNodeFromBytes ¶
GetNodeFromBytes 通过路径,快速从字节数组解析数据
func GetNodeFromString ¶
GetNodeFromString 通过路径,快速从json字符串解析数据
type DelayJsoniter ¶
type DelayJsoniter struct {
// contains filtered or unexported fields
}
DelayJsoniter 通过重写 string() 方法来延迟执行json序列化
func ToJsonDelay ¶
func ToJsonDelay(data interface{}) *DelayJsoniter
ToJsonDelay 对象转 json 字符串,在调用 String() 方法时才会执行转换方法
func (*DelayJsoniter) String ¶
func (d *DelayJsoniter) String() string
String 返回json字符串,如果失败则返回error信息
Click to show internal directories.
Click to hide internal directories.