View Source LiveViewModel.Encoder protocol (live_view_model v0.1.0)
Allows customization of the representation of a given type
as the state in a LiveViewModel.Channel
. It is called before serialization
and json diffing.
Summary
Types
@type t() :: term()
All the types that implement this protocol.