Cldr v0.8.3 Cldr.Map View Source

Helper functions for transforming maps, keys and values.

Link to this section Summary

Functions

Convert map string keys to :atom keys

Execute a function over each element of a nested map

Deep merge two maps

Delete all members of a map that have a key in the list of keys

Convert map atom or binary keys to integers where possible

Convert map binary values to integers where possible

Returns the result of deep merging a list of maps

Remove any leading underscores from map keys

Rename map keys

Convert map atom keys to strings

Underscore one key of a map

Convert map string camelCase keys to underscore_keys

Link to this section Functions

Convert map string keys to :atom keys

Execute a function over each element of a nested map

Deep merge two maps

Delete all members of a map that have a key in the list of keys

Convert map atom or binary keys to integers where possible.

Convert map binary values to integers where possible.

Returns the result of deep merging a list of maps

Link to this function remove_leading_underscores(map) View Source

Remove any leading underscores from map keys

Link to this function rename_key(map, from, to) View Source

Rename map keys

Convert map atom keys to strings

Link to this function underscore_key(map, key) View Source

Underscore one key of a map

Convert map string camelCase keys to underscore_keys