Versions in this module Expand all Collapse all v0 v0.2.0 Mar 26, 2025 Changes in this version type CodecJSON + func (j *CodecJSON) Marshal(v any) ([]byte, error) + func (j *CodecJSON) Marshals(_ any) bool + func (j *CodecJSON) Name() string + func (j *CodecJSON) Unmarshal(data []byte, v any) error + func (j *CodecJSON) Unmarshals(_ any) bool v0.1.0 Feb 24, 2025 Changes in this version + type CodecJSON struct + func (j *CodecJSON) ContentTypes() []string + func (j *CodecJSON) Decode(data []byte, v any) error + func (j *CodecJSON) Decodes(_ any) bool + func (j *CodecJSON) Encode(v any) ([]byte, error) + func (j *CodecJSON) Encodes(_ any) bool + func (j *CodecJSON) Exts() []string + func (j *CodecJSON) NewDecoder(r io.Reader) codecs.Decoder + func (j *CodecJSON) NewEncoder(w io.Writer) codecs.Encoder + func (j *CodecJSON) String() string