Versions in this module Expand all Collapse all v1 v1.4.5 Dec 28, 2022 v1.4.4 Dec 28, 2022 Changes in this version + func Deref(t reflect.Type) reflect.Type + func Marshal(val interface{}) (map[string]map[string]interface{}, error) + func Repr(v interface{}) string + func UnmarshalJsonBytes(content []byte, v interface{}, opts ...UnmarshalOption) error + func UnmarshalJsonMap(m map[string]interface{}, v interface{}, opts ...UnmarshalOption) error + func UnmarshalJsonReader(reader io.Reader, v interface{}, opts ...UnmarshalOption) error + func UnmarshalKey(m map[string]interface{}, v interface{}) error + func UnmarshalTomlBytes(content []byte, v interface{}, opts ...UnmarshalOption) error + func UnmarshalTomlReader(r io.Reader, v interface{}, opts ...UnmarshalOption) error + func UnmarshalYamlBytes(content []byte, v interface{}, opts ...UnmarshalOption) error + func UnmarshalYamlReader(reader io.Reader, v interface{}, opts ...UnmarshalOption) error + func ValidatePtr(v *reflect.Value) error + type UnmarshalOption func(*unmarshalOptions) + func WithCanonicalKeyFunc(f func(string) string) UnmarshalOption + func WithStringValues() UnmarshalOption + type Unmarshaler struct + func NewUnmarshaler(key string, opts ...UnmarshalOption) *Unmarshaler + func (u *Unmarshaler) Unmarshal(m map[string]interface{}, v interface{}) error + func (u *Unmarshaler) UnmarshalValuer(m Valuer, v interface{}) error + type Valuer interface + Value func(key string) (interface{}, bool)