package
Version:
v0.1.0-beta1
Opens a new window with list of versions in this module.
Published: Dec 19, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Decode is a convenience wrapper for decoding data into an Object.
Encode is a convenience wrapper for encoding to a []byte from an Encoder
NewSerializer creates a NewSerializer from an Encoder and Decoder.
type Decoder interface {
Decode(data []byte, obj interface{}) error
}
type Encoder interface {
Encode(obj interface{}, w io.Writer) error
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.