Poison.Encoder protocol (Poison v5.0.0) View Source

Link to this section Summary

Link to this section Types

Specs

options() :: %{
  optional(:escape) => escape(),
  optional(:pretty) => pretty(),
  optional(:indent) => indent(),
  optional(:offset) => offset(),
  optional(:strict_keys) => strict_keys()
}

Specs

t() :: term()

Link to this section Functions

Specs

encode(t(), options()) :: iodata()