Versions in this module Expand all Collapse all v0 v0.89.0 Dec 10, 2022 Changes in this version + type ErrInvalidUnmarshalTarget struct + Type reflect.Type + func (e ErrInvalidUnmarshalTarget) Error() string + type ErrMalformedTokenStream struct + Expected string + Got TokenType + func (e ErrMalformedTokenStream) Error() string + type ErrNoSuchField struct + Name string + Type string + func (e ErrNoSuchField) Error() string + type ErrNoSuchUnionMember struct + KnownMembers []string + Name string + Type reflect.Type + func (e ErrNoSuchUnionMember) Error() string + type ErrUnmarshalTypeCantFit struct + LenLim int + Token Token + Value reflect.Value + func (e ErrUnmarshalTypeCantFit) Error() string + type MarshalMachine interface + Reset func(*marshalSlab, reflect.Value, reflect.Type) error + Step func(*Marshaller, *marshalSlab, *Token) (done bool, err error) + type Marshaller struct + func NewMarshaller(atl atlas.Atlas) *Marshaller + func (d *Marshaller) Bind(v interface{}) error + func (d *Marshaller) Recurse(tok *Token, rv reflect.Value, rt reflect.Type, nextMach MarshalMachine) (err error) + func (d *Marshaller) Step(tok *Token) (bool, error) + type UnmarshalMachine interface + Reset func(*unmarshalSlab, reflect.Value, reflect.Type) error + Step func(*Unmarshaller, *unmarshalSlab, *Token) (done bool, err error) + type Unmarshaller struct + func NewUnmarshaller(atl atlas.Atlas) *Unmarshaller + func (d *Unmarshaller) Bind(v interface{}) error + func (d *Unmarshaller) Recurse(tok *Token, rv reflect.Value, rt reflect.Type, nextMach UnmarshalMachine) (err error) + func (d *Unmarshaller) Step(tok *Token) (bool, error)