Package providing compatibility for the Antidote
JSON library with Poison.
Included features are:
- Encoder implementations for
MapSet
,HashSet
,Stream
andRange
- A compatibility encoder for all structs encoding them as maps omitting the
__struct__
key.
If available in Hex, the package can be installed
by adding antidote_poison_compat
to your list of dependencies in mix.exs
:
def deps do
[
{:antidote_poison_compat, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/antidote_poison_compat.