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 MismatchQuotedError ¶ added in v1.12.6
type MismatchQuotedError struct{}
used to distinguish between MismatchQuoted and other MismatchedTyped errors, see issue #670 and #716
func (*MismatchQuotedError) Error ¶ added in v1.12.6
func (*MismatchQuotedError) Error() string
type MismatchTypeError ¶
type MismatchTypeError = errors.MismatchTypeError
type SyntaxError ¶
type SyntaxError = errors.SyntaxError
Click to show internal directories.
Click to hide internal directories.