Versions in this module Expand all Collapse all v1 v1.1.3 Apr 3, 2025 Changes in this version + var MarshalFunc = json.Marshal + var MarshalIndentFunc = json.MarshalIndent + var NewDecoderFunc = func(r io.Reader) Decoder + var NewEncoderFunc = func(w io.Writer) Encoder + var UnmarshalFunc = json.Unmarshal + func Marshal(v interface{}) ([]byte, error) + func MarshalIndent(v interface{}, prefix, indent string) ([]byte, error) + func Unmarshal(data []byte, v interface{}) error + type Decoder interface + Decode func(v interface{}) error + func NewDecoder(r io.Reader) Decoder + type Encoder interface + Encode func(v interface{}) error + func NewEncoder(w io.Writer) Encoder + type WrapDecoder struct + D Decoder + func (w *WrapDecoder) Decode(v interface{}) error + type WrapEncoder struct + E Encoder + func (w *WrapEncoder) Encode(v interface{}) error + type WrapError struct + func (w *WrapError) Error() string Other modules containing this package gitee.com/go-spring2/spring-base/v2