EventStore.Serializer.serialize

You're seeing just the callback serialize, go back to EventStore.Serializer module for more information.

Specs

serialize(any()) :: binary() | map()

Serialize the given term to a representation that can be stored by the database.