View Source Commanded.Serialization.JsonDecoder protocol (Commanded v1.4.6)

Summary

Types

t()

All the types that implement this protocol.

Functions

Protocol to allow additional decoding of a value that has been deserialized using the Commanded.Serialization.JsonSerializer.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Protocol to allow additional decoding of a value that has been deserialized using the Commanded.Serialization.JsonSerializer.

The protocol is optional. The default behaviour is to to return the value if an explicit protocol is not defined.