retort v2.6.1 Retort.Api View Source

JSON API

Link to this section 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

Link to this section Functions

Link to this function deserialize_keys(list) View Source
deserialize_keys(t) :: t when t: String.t | float | true | false | nil
deserialize_keys(map) :: map
deserialize_keys(list) :: list

Converts formatted keys to unformatted keys

Link to this function serialize_keys(map) View Source
serialize_keys(t) :: t when t: String.t | float | true | false | nil | list
serialize_keys(map) :: map

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