Documentation ¶
Overview ¶
This package is only used for exporting internal API to thrid-party libs. DO NOT USE IT.
Index ¶
- Variables
- func FastPaths(path string) []interface{}
- func Get(s string, path ...interface{}) (start int, end int, typ int, err error)
- func JSONType(sonic int) int
- func Skip(src string, i int) (end int, remian string)
- func String(json string, i int) (end int, str string, hasEsc bool, error error)
- func Unquote(str string) (string, error)
- func Valid(json string) bool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FastPaths ¶
func FastPaths(path string) []interface{}
check if it is a simple path and return parsed values. Now only a path contains only alphabets, '_' and numbers can be regarded as simple TODO: support more delicated simpliable cases
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.