View Source Transmogrify
Elixir module which accepts data with different shapes and changes them to an expected shape, such as switching keys in a map to camel case, or all string keys to atom keys, etc.
Full docs found at: https://hexdocs.pm/transmogrify.
Installation
The package can be installed by adding transmogrify
to your list of
dependencies in mix.exs
:
def deps do
[
{:transmogrify, "~> 1.1.0"}
]
end