Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Unmarshal ¶
Unmarshal wraps json.Unmarshal and calls validate.Validate afterwards.
See also Decoder.Decode
Types ¶
type Decoder ¶
Decoder wraps json.Decoder with validation step after decoding
See json.Decoder documentation
func NewDecoder ¶
NewDecoder returns a new decoder that reads from r.
See json.NewDecoder documentation
func (*Decoder) Decode ¶
Decode wraps json.Decoder.Decode and calls validate.Validate afterwards.
See also Unmarshal
Click to show internal directories.
Click to hide internal directories.