Versions in this module Expand all Collapse all v1 v1.3.6 Aug 10, 2022 Changes in this version + func Pretouch(vt reflect.Type, opts ...option.CompileOption) error + func Skip(data []byte) (start int, end int) + type Decoder struct + func NewDecoder(s string) *Decoder + func (self *Decoder) CopyString() + func (self *Decoder) Decode(val interface{}) error + func (self *Decoder) DisallowUnknownFields() + func (self *Decoder) Pos() int + func (self *Decoder) Reset(s string) + func (self *Decoder) SetOptions(opts Options) + func (self *Decoder) UseInt64() + func (self *Decoder) UseNumber() + func (self *Decoder) UseUnicodeErrors() + type Options uint64 + const OptionCopyString + const OptionDisableUnknown + const OptionUseInt64 + const OptionUseNumber + const OptionUseUnicodeErrors + type StreamDecoder struct + func NewStreamDecoder(r io.Reader) *StreamDecoder + func (self *StreamDecoder) Buffered() io.Reader + func (self *StreamDecoder) Decode(val interface{}) (err error) + func (self *StreamDecoder) InputOffset() int64 + func (self *StreamDecoder) More() bool + type SyntaxError struct + Code types.ParsingError + Msg string + Pos int + Src string + func (self SyntaxError) Description() string + func (self SyntaxError) Error() string + func (self SyntaxError) Message() string