GitHunt
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"}
  ]
end

Documentation can be generated with ExDoc
and published on HexDocs. Once published, the docs can
be found at https://hexdocs.pm/struct_simplifier.

Languages

Elixir100.0%

Contributors

Created September 8, 2020
Updated September 15, 2020