Versions in this module Expand all Collapse all v0 v0.0.4 Oct 31, 2016 Changes in this version + const NotAllowedKeyChar + const Version + func For(key string, serializer ...Serializer) + func Len() int + func RegisterDefaults(serializers Serializers) + func Serialize(key string, obj interface{}, options ...map[string]interface{}) ([]byte, error) + func SerializeToString(key string, obj interface{}, options ...map[string]interface{}) (string, error) + type Options map[string]interface + type SerializeFunc func(interface{}, ...map[string]interface{}) ([]byte, error) + func (s SerializeFunc) Serialize(obj interface{}, options ...map[string]interface{}) ([]byte, error) + type Serializer interface + Serialize func(interface{}, ...map[string]interface{}) ([]byte, error) + type Serializers map[string][]Serializer + func (s Serializers) For(key string, serializer ...Serializer) + func (s Serializers) Len() int + func (s Serializers) Serialize(key string, obj interface{}, options ...map[string]interface{}) ([]byte, error) + func (s Serializers) SerializeToString(key string, obj interface{}, options ...map[string]interface{}) (string, error)