View Source Transmogrify (transmogrify v2.0.1)
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.
Three primary sections:
- Transmogrifier — convert maps and list keys and values.
- As — Direct data polymorphic conversions (as_atom/1), which accepts a variety of data types and makes them become the desired type.
- Case and Path conversions (camelcase/snakecase, etc) — see below
Summary
Functions
Link to this function