View Source OnFlow.JSONCDC (on_flow v0.13.0)

Decodes the JSON-CDC event values into Elixir terms.

Link to this section Summary

Link to this section Types

@type encodable() :: String.t() | %{required(String.t()) => nil | String.t()}

Link to this section Functions

@spec decode(encodable()) :: {:ok, term()} | :error
@spec decode!(encodable()) :: term()