EventStore v0.16.0 EventStore.Serializer behaviour View Source
Specification of a serializer to convert between an Elixir term and its representation in the database.
Link to this section Summary
Callbacks
Deserialize the given data to the corresponding term
Serialize the given term to a representation that can be stored by the database
Link to this section Types
Link to this type
config()
View Source
config()
View Source
config() :: Keyword.t()
config() :: Keyword.t()
Link to this type
t()
View Source
t()
View Source
t() :: module()
t() :: module()
Link to this section Callbacks
Link to this callback
deserialize(arg0, config) View Source
Deserialize the given data to the corresponding term
Link to this callback
serialize(any) View Source
Serialize the given term to a representation that can be stored by the database.