Elastix.JSON.Codec behaviour (Elastix v0.10.0) View Source

A behaviour for JSON serialization.

Link to this section Summary

Link to this section Callbacks

Specs

decode(json :: iodata(), opts :: []) :: {:ok, any()} | {:error, :invalid}

Specs

encode!(data :: any()) :: iodata()