Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode parses the JSON-encoded data from current position and stores the result in the value pointed to by val.
func Pretouch ¶
func Pretouch(vt reflect.Type, opts ...option.CompileOption) error
Pretouch compiles vt ahead-of-time to avoid JIT compilation on-the-fly, in order to reduce the first-hit latency.
Opts are the compile options, for example, "option.WithCompileRecursiveDepth" is a compile option to set the depth of recursive compile for the nested struct type.
Types ¶
type MismatchTypeError ¶
type MismatchTypeError = errors.MismatchTypeError
type SyntaxError ¶
type SyntaxError = errors.SyntaxError
Click to show internal directories.
Click to hide internal directories.