Versions in this module Expand all Collapse all v0 v0.1.1 Jan 16, 2020 v0.1.0 Oct 1, 2019 Changes in this version + func Compact(dst *bytes.Buffer, src []byte) error + func Marshal(v interface{}) ([]byte, error) + func Unmarshal(data []byte, v interface{}) error + func Valid(data []byte) bool + type Buffer interface + WriteByte func(b byte) error + WriteEncode func(v interface{}) + WriteString func(s string) (int, error) + WriteStringValue func(s string) + type Decoder struct + func NewDecoder(r io.Reader) *Decoder + func (dec *Decoder) Buffered() io.Reader + func (dec *Decoder) Decode(v interface{}) error + func (dec *Decoder) DisallowUnknownFields() + func (dec *Decoder) More() bool + func (dec *Decoder) Token() (Token, error) + type Delim rune + func (d Delim) String() string + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (enc *Encoder) EnableEncodeNL() + func (enc *Encoder) Encode(v interface{}) error + type Error int + func (e *Error) UnmarshalOscript(data []byte) error + func (e Error) Error() string + func (e Error) MarshalOscript() ([]byte, error) + type InvalidUnmarshalError struct + Type reflect.Type + func (e *InvalidUnmarshalError) Error() string + type M map[string]interface + type Marshaler interface + MarshalOscript func() ([]byte, error) + type MarshalerBuf interface + MarshalOscriptBuf func(buf Buffer) error + type MarshalerError struct + Err error + Type reflect.Type + func (e *MarshalerError) Error() string + type SDOName struct + type SyntaxError struct + Offset int64 + func (e *SyntaxError) Error() string + type Token interface + type UnmarshalTypeError struct + Field string + Offset int64 + Struct string + Type reflect.Type + Value string + func (e *UnmarshalTypeError) Error() string + type Unmarshaler interface + UnmarshalOscript func([]byte) error + type UnsupportedTypeError struct + Type reflect.Type + func (e *UnsupportedTypeError) Error() string + type UnsupportedValueError struct + Str string + Value reflect.Value + func (e *UnsupportedValueError) Error() string