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) ParseReader(in io.Reader) (int64, error) + func (p *Parser) ParseString(s 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(l int, t structform.BaseType) error + func (vs *Visitor) OnBool(b bool) error + func (vs *Visitor) OnBoolArray(a []bool) error + func (vs *Visitor) OnBoolObject(m map[string]bool) error + func (vs *Visitor) OnByte(b byte) error + func (vs *Visitor) OnBytes(a []byte) error + func (vs *Visitor) OnFloat32(f float32) error + func (vs *Visitor) OnFloat32Array(a []float32) error + func (vs *Visitor) OnFloat32Object(m map[string]float32) error + func (vs *Visitor) OnFloat64(f float64) error + func (vs *Visitor) OnFloat64Array(a []float64) error + func (vs *Visitor) OnFloat64Object(m map[string]float64) error + func (vs *Visitor) OnInt(i int) error + func (vs *Visitor) OnInt16(i int16) error + func (vs *Visitor) OnInt16Array(a []int16) error + func (vs *Visitor) OnInt16Object(m map[string]int16) error + func (vs *Visitor) OnInt32(i int32) error + func (vs *Visitor) OnInt32Array(a []int32) error + func (vs *Visitor) OnInt32Object(m map[string]int32) error + func (vs *Visitor) OnInt64(i int64) error + func (vs *Visitor) OnInt64Array(a []int64) error + func (vs *Visitor) OnInt64Object(m map[string]int64) error + func (vs *Visitor) OnInt8(i int8) error + func (vs *Visitor) OnInt8Array(a []int8) error + func (vs *Visitor) OnInt8Object(m map[string]int8) error + func (vs *Visitor) OnIntArray(a []int) error + func (vs *Visitor) OnIntObject(m map[string]int) 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(l int, _ structform.BaseType) error + func (vs *Visitor) OnString(s string) error + func (vs *Visitor) OnStringArray(a []string) error + func (vs *Visitor) OnStringObject(m map[string]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) OnUint16Array(a []uint16) error + func (vs *Visitor) OnUint16Object(m map[string]uint16) error + func (vs *Visitor) OnUint32(u uint32) error + func (vs *Visitor) OnUint32Array(a []uint32) error + func (vs *Visitor) OnUint32Object(m map[string]uint32) error + func (vs *Visitor) OnUint64(u uint64) error + func (vs *Visitor) OnUint64Array(a []uint64) error + func (vs *Visitor) OnUint64Object(m map[string]uint64) error + func (vs *Visitor) OnUint8(u uint8) error + func (vs *Visitor) OnUint8Array(a []uint8) error + func (vs *Visitor) OnUint8Object(m map[string]uint8) error + func (vs *Visitor) OnUintArray(a []uint) error + func (vs *Visitor) OnUintObject(m map[string]uint) error