Versions in this module Expand all Collapse all v2 v2.0.1 Nov 5, 2023 Changes in this version + type Decoder interface + Decode func(v any) error + type Encoder interface + Encode func(v any) error + type Json interface + Indent func(dst *bytes.Buffer, src []byte, prefix string, indent string) error + Marshal func(v any) ([]byte, error) + MarshalIndent func(v any, prefix string, indent string) ([]byte, error) + NewDecoder func(r io.Reader) Decoder + NewEncoder func(w io.Writer) Encoder + Unmarshal func(buf []byte, v any) error v2.0.0-unstable Oct 12, 2023