commanded v0.10.0 Commanded.Serialization.JsonDecoder protocol

Summary

Functions

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

Types

t()
t() :: term

Functions

decode(data)

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.