View Source Tw.JSON.Serializer behaviour (Tw v0.1.1)
JSON serializer constract.
Link to this section Summary
Types
Module which implements the Tw.JSON.Serializer behavior.
Link to this section Types
Link to this section Callbacks
Specs
decode(iodata(), decode_options()) :: {:ok, term()} | {:error, Exception.t()}
Specs
encode(iodata(), encode_options()) :: {:ok, iodata()} | {:error, Exception.t()}