Documentation ¶
Index ¶
Constants ¶
View Source
const ( AutoString = "Auto" JSONString = "JSON" ProtobufString = "Protobuf" RawStringString = "RawString" )
Variables ¶
This section is empty.
Functions ¶
func ToString ¶ added in v1.1.37
func ToString(s Serializer) string
Types ¶
type Serializer ¶
type Serializer interface { Marshaler Unmarshaler }
Serializer is the interface that groups the basic Marshal and Unmarshal methods.
func FromString ¶ added in v1.1.37
func FromString(s string) Serializer
func FromType ¶ added in v1.1.37
func FromType(t Type) Serializer
type Type ¶ added in v1.1.37
type Type = uint32
func ToType ¶ added in v1.1.37
func ToType(s Serializer) Type
type Unmarshaler ¶
Unmarshaler represents a Unmarshal interface
Click to show internal directories.
Click to hide internal directories.