Versions in this module Expand all Collapse all v1 v1.0.1 Sep 10, 2018 v1.0.0 Apr 19, 2018 Changes in this version + const Array16 + const Array32 + const Bin16 + const Bin32 + const Bin8 + const Ext16 + const Ext32 + const Ext8 + const ExtTime + const False + const FixarrayMask + const FixarrayTag + const Fixext1 + const Fixext16 + const Fixext2 + const Fixext4 + const Fixext8 + const FixmapMask + const FixmapTag + const FixstrMask + const FixstrTag + const Float32 + const Float64 + const Int16 + const Int32 + const Int64 + const Int8 + const Map16 + const Map32 + const NegativeFixintMask + const NegativeFixintTag + const Nil + const PositiveFixintMask + const PositiveFixintTag + const Str16 + const Str32 + const Str8 + const True + const Uint16 + const Uint32 + const Uint64 + const Uint8 + var Codec = objconv.Codec + func Marshal(v interface{}) (b []byte, err error) + func NewDecoder(r io.Reader) *objconv.Decoder + func NewEncoder(w io.Writer) *objconv.Encoder + func NewStreamDecoder(r io.Reader) *objconv.StreamDecoder + func NewStreamEncoder(w io.Writer) *objconv.StreamEncoder + func Unmarshal(b []byte, v interface{}) error + type Emitter struct + func NewEmitter(w io.Writer) *Emitter + func (e *Emitter) EmitArrayBegin(n int) (err error) + func (e *Emitter) EmitArrayEnd() (err error) + func (e *Emitter) EmitArrayNext() (err error) + func (e *Emitter) EmitBool(v bool) (err error) + func (e *Emitter) EmitBytes(v []byte) (err error) + func (e *Emitter) EmitDuration(v time.Duration) (err error) + func (e *Emitter) EmitError(v error) (err error) + func (e *Emitter) EmitFloat(v float64, bitSize int) (err error) + func (e *Emitter) EmitInt(v int64, _ int) (err error) + func (e *Emitter) EmitMapBegin(n int) (err error) + func (e *Emitter) EmitMapEnd() (err error) + func (e *Emitter) EmitMapNext() (err error) + func (e *Emitter) EmitMapValue() (err error) + func (e *Emitter) EmitNil() (err error) + func (e *Emitter) EmitString(v string) (err error) + func (e *Emitter) EmitTime(v time.Time) (err error) + func (e *Emitter) EmitUint(v uint64, _ int) (err error) + func (e *Emitter) Reset(w io.Writer) + type Parser struct + func NewParser(r io.Reader) *Parser + func (p *Parser) Buffered() io.Reader + func (p *Parser) ParseArrayBegin() (n int, err error) + func (p *Parser) ParseArrayEnd(n int) (err error) + func (p *Parser) ParseArrayNext(n int) (err error) + func (p *Parser) ParseBool() (v bool, err error) + func (p *Parser) ParseBytes() (v []byte, err error) + func (p *Parser) ParseDuration() (v time.Duration, err error) + func (p *Parser) ParseError() (v error, err error) + func (p *Parser) ParseFloat() (v float64, err error) + func (p *Parser) ParseInt() (v int64, err error) + func (p *Parser) ParseMapBegin() (n int, err error) + func (p *Parser) ParseMapEnd(n int) (err error) + func (p *Parser) ParseMapNext(n int) (err error) + func (p *Parser) ParseMapValue(n int) (err error) + func (p *Parser) ParseNil() (err error) + func (p *Parser) ParseString() (v []byte, err error) + func (p *Parser) ParseTime() (v time.Time, err error) + func (p *Parser) ParseType() (objconv.Type, error) + func (p *Parser) ParseUint() (v uint64, err error) + func (p *Parser) Reset(r io.Reader)