Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2025 v1.0.0 Feb 21, 2025 Changes in this version + func Marshal(v interface{}) ([]byte, error) + func MarshalFast(v interface{}) ([]byte, error) + func Pool(b []byte) + func Unmarshal(data []byte, v interface{}) error + func UnmarshalFast(data []byte, v interface{}) error + type Decoder struct + func NewDecoder() *Decoder + func (d *Decoder) Decode(data []byte, v interface{}) error + func (d *Decoder) DecodeFast(data []byte, v interface{}) error + func (d *Decoder) DecodeReader(r io.Reader, v interface{}) error + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (e *Encoder) Encode(v interface{}) error + func (e *Encoder) EncodeFast(v interface{}) error + func (enc *Encoder) SetEscapeHTML(on bool)