View Source Eventize.Serialization.JasonSerializer (eventize v0.2.0)

A serializer that uses the Jason library.

Link to this section Summary

Link to this section Functions

Link to this function

deserialize(input, type \\ nil)

View Source
@spec deserialize(binary(), atom() | nil) :: {:error, any()} | {:ok, map()}

Callback implementation for Eventize.Serialization.Serializer.deserialize/2.

@spec serialize(map()) :: {:error, any()} | {:ok, binary()}

Callback implementation for Eventize.Serialization.Serializer.serialize/1.