Documentation
¶
Index ¶
Constants ¶
View Source
const ( FailedDecode = "%s serializer.json.Decode" FailedEncode = "%s serializer.json.Encode" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Serializer ¶
type Serializer struct { }
func (*Serializer) Decode ¶
func (s *Serializer) Decode(input []byte, dst interface{}) error
func (*Serializer) DecodeIoReader ¶
func (s *Serializer) DecodeIoReader(input io.Reader, dst interface{}) error
func (*Serializer) Encode ¶
func (s *Serializer) Encode(input interface{}) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.