EC
Ecialo/struct_simplifier
StructSimplifier
Decompose struct in such form, that allow easy-peasy json encoding with elixir types preservation. Only restriction is "__t__" field in maps.
Installation
If available in Hex, the package can be installed
by adding struct_simplifier to your list of dependencies in mix.exs:
def deps do
[
{:struct_simplifier, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc
and published on HexDocs. Once published, the docs can
be found at https://hexdocs.pm/struct_simplifier.