Versions in this module Expand all Collapse all v0 v0.0.2 Dec 5, 2017 v0.0.1 Jul 17, 2017 Changes in this version + func Parse(b []byte, vs structform.Visitor) error + func ParseReader(in io.Reader, vs structform.Visitor) (int64, error) + func ParseString(str string, vs structform.Visitor) error + type Decoder struct + func NewBytesDecoder(b []byte, vs structform.Visitor) *Decoder + func NewDecoder(in io.Reader, buffer int, vs structform.Visitor) *Decoder + func (dec *Decoder) Next() error + type Parser struct + func NewParser(vs structform.Visitor) *Parser + func (p *Parser) Parse(b []byte) error + func (p *Parser) ParseString(str string) error + func (p *Parser) Write(b []byte) (int, error) + type Visitor struct + func NewVisitor(out io.Writer) *Visitor + func (vs *Visitor) OnArrayFinished() error + func (vs *Visitor) OnArrayStart(_ int, _ structform.BaseType) error + func (vs *Visitor) OnBool(b bool) error + func (vs *Visitor) OnByte(b byte) error + func (vs *Visitor) OnFloat32(f float32) error + func (vs *Visitor) OnFloat64(f float64) error + func (vs *Visitor) OnInt(i int) error + func (vs *Visitor) OnInt16(i int16) error + func (vs *Visitor) OnInt32(i int32) error + func (vs *Visitor) OnInt64(i int64) error + func (vs *Visitor) OnInt8(i int8) error + func (vs *Visitor) OnKey(s string) error + func (vs *Visitor) OnKeyRef(s []byte) error + func (vs *Visitor) OnNil() error + func (vs *Visitor) OnObjectFinished() error + func (vs *Visitor) OnObjectStart(_ int, _ structform.BaseType) error + func (vs *Visitor) OnString(s string) error + func (vs *Visitor) OnStringRef(s []byte) error + func (vs *Visitor) OnUint(u uint) error + func (vs *Visitor) OnUint16(u uint16) error + func (vs *Visitor) OnUint32(u uint32) error + func (vs *Visitor) OnUint64(u uint64) error + func (vs *Visitor) OnUint8(u uint8) error