Documentation
¶
Index ¶
- func Marshal(v any) ([]byte, error)
- func MarshalFile(path string, v any) error
- func MarshalTo(w io.Writer, v any) error
- func Unmarshal(data []byte, v any) error
- func UnmarshalFile(path string, v any) error
- func UnmarshalFrom(r io.Reader, v any) error
- type Decoder
- type Encoder
- type Marshaler
- type Unmarshaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalFile ¶
func UnmarshalFile ¶
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func (*Encoder) SetRestKeys ¶ added in v0.3.0
type Unmarshaler ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.