ExStructTranslator (ex_struct_translator v0.1.1)

A Translator of Structs in Elixir.

Link to this section Summary

Functions

map => str

str => atom map

str => map

struct => map

translate a map with string-key to atom-key recursively.

Link to this section Functions

Link to this function

is_assoc_loaded_type?(arg1)

Link to this function

map_to_str(map)

map => str

Link to this function

map_to_struct(kind, attrs)

Specs

map_to_struct(atom(), map()) :: Struct.t()

map => struct

Link to this function

str_to_atom_map(str)

str => atom map

Link to this function

str_to_map(str)

str => map

Link to this function

struct_to_map(struct)

struct => map

Link to this function

to_atom_struct(list)

translate a map with string-key to atom-key recursively.