Simplificator3000.MapHelpers (Simplificator3000 v0.5.4)

Link to this section Summary

Functions

DONT USE FOR USER INPUT It uses String.to_atom which is not safe for user input. Converts all keys of a map to atoms.

Link to this section Functions

Link to this function

add_prefix(map, prefix)

Link to this function

camel_cased_map_keys(val)

Link to this function

keys_to_atoms(json)

DONT USE FOR USER INPUT It uses String.to_atom which is not safe for user input. Converts all keys of a map to atoms.

Link to this function

snake_cased_map_keys(map)