Versions in this module Expand all Collapse all v1 v1.0.2 Sep 16, 2020 Changes in this version + var ErrSyntax = DecoderError + var ErrUnexpectedEOF = DecoderError + type Decoder struct + func NewDecoder(r io.Reader, emitDepth int) *Decoder + func (d *Decoder) EmitKV() *Decoder + func (d *Decoder) Err() error + func (d *Decoder) ObjectAsKVS() *Decoder + func (d *Decoder) Pos() int + func (d *Decoder) Recursive() *Decoder + func (d *Decoder) Stream() chan *MetaValue + type DecoderError struct + func (e DecoderError) Error() string + func (e DecoderError) ReaderErr() error + type KV struct + Key string + Value interface{} + type KVS []KV + func (kvs KVS) MarshalJSON() ([]byte, error) + type MetaValue struct + Depth int + Length int + Offset int + Value interface{} + ValueType ValueType + type ValueType int + const Array + const Boolean + const Null + const Number + const Object + const String + const Unknown