Versions in this module Expand all Collapse all v1 v1.1.0 Nov 6, 2026 v1.0.0 Nov 6, 2026 Changes in this version + type Error struct + Cause error + Operation string + func (e *Error) Error() string + func (e *Error) Unwrap() error + type JSON struct + MaxBytes int + func (j JSON) Decode(b []byte, v any) error + func (j JSON) Encode(v any) ([]byte, error) + type Raw struct + MaxBytes int + func (r Raw) Decode(b []byte, v any) error + func (r Raw) Encode(v any) ([]byte, error) + type Serializer interface + Decode func([]byte, any) error + Encode func(any) ([]byte, error)