Documentation ¶
Overview ¶
Package json is used for marshalling and unmarshalling
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidRequest = errors.New("Invalid request ")
)
errors
Functions ¶
This section is empty.
Types ¶
type Serializer ¶
type Serializer struct{}
Serializer is a empty struct
func (Serializer) Decode ¶
func (js Serializer) Decode(data []byte, v interface{}) error
Decode - Unmarshal unmarshaling data
func (Serializer) Encode ¶
func (js Serializer) Encode(v interface{}) ([]byte, error)
Encode - Marshal marshaling data
Click to show internal directories.
Click to hide internal directories.