brook_serializer v2.2.1 Brook.Serializer.Protocol protocol

The protocol for standard serialization of Elixir structs to an in-transit encoding format before sending on the Brook event stream.

Brook drivers are expected to implement a default serializer for converting to the given encoding, leaving the client the option to implement a custom serializer for specific struct types.

Link to this section Summary

Functions

Convert the supplied Elixir term to an encoded term.

Link to this section Types

Link to this section Functions

Link to this function

serialize(data)

Convert the supplied Elixir term to an encoded term.