Telephonist.Format

Contains functions to convert values between formats.

Summary

atomize_keys(map)

Converts all binary keys in a map to atoms, recursively

Functions

atomize_keys(map)

Converts all binary keys in a map to atoms, recursively.

Example

iex> Telephonist.Format.atomize_keys(%{"hello" => %{"there" => "everyone"}})
%{:hello => %{:there => "everyone"}}