Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Serializer ¶
type Serializer interface { Marshaler Unmarshaler }
Serializer is the interface that groups the basic Marshal and Unmarshal methods.
type SerializerType ¶
type SerializerType uint32
const ( Auto SerializerType = iota JSON Protobuf RawString )
func MustSerializerType ¶ added in v1.1.12
func MustSerializerType(s string) SerializerType
func ParseSerializerType ¶ added in v1.1.10
func ParseSerializerType(s string) (SerializerType, error)
func (SerializerType) Serializer ¶
func (t SerializerType) Serializer() Serializer
func (SerializerType) String ¶
func (t SerializerType) String() string
type Unmarshaler ¶
Unmarshaler represents a Unmarshal interface
Click to show internal directories.
Click to hide internal directories.