retort v2.1.0 Retort.Api

JSON API

Summary

Functions

Converts formatted keys to unformatted keys

Converts map to stringified keys, and replaces “_” with “-“ in the key names. Does not match on structs like DateTime

Functions

deserialize_keys(list)
deserialize_keys(list) :: list
deserialize_keys(map) :: map
deserialize_keys(t) :: t when t: String.t | float | true | false | nil

Converts formatted keys to unformatted keys

serialize_keys(map)
serialize_keys(map) :: map
serialize_keys(t) :: t when t: String.t | float | true | false | nil | list

Converts map to stringified keys, and replaces “_” with “-“ in the key names. Does not match on structs like DateTime