Versions in this module Expand all Collapse all v1 v1.0.1 Jan 25, 2023 Changes in this version + func Compact(dst *bytes.Buffer, src []byte) error + func HTMLEscape(dst *bytes.Buffer, src []byte) + func Marshal(v any) ([]byte, error) + func Unmarshal(data []byte, v any) error + func Valid(data []byte) bool + type InvalidUTF8Error struct + S string + func (e *InvalidUTF8Error) Error() string + type InvalidUnmarshalError struct + Type reflect.Type + func (e *InvalidUnmarshalError) Error() string + type Marshaler interface + MarshalJSON func() ([]byte, error) + type MarshalerError struct + Err error + Type reflect.Type + func (e *MarshalerError) Error() string + func (e *MarshalerError) Unwrap() error + type Number string + func (n Number) Float64() (float64, error) + func (n Number) Int64() (int64, error) + func (n Number) String() string + type SyntaxError struct + Offset int64 + func (e *SyntaxError) Error() string + type UnmarshalFieldError struct + Field reflect.StructField + Key string + Type reflect.Type + func (e *UnmarshalFieldError) Error() string + type UnmarshalTypeError struct + Field string + Offset int64 + Struct string + Type reflect.Type + Value string + func (e *UnmarshalTypeError) Error() string + type Unmarshaler interface + UnmarshalJSON 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 v1.0.0 Jan 9, 2023