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.

Installation

If available in Hex, the package can be installed by adding transmogrify to your list of dependencies in mix.exs:

def deps do
  [
    {:transmogrify, "~> 1.0.0"}
  ]
end

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