retort v2.5.0 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(list) :: list
deserialize_keys(map) :: map
deserialize_keys(t) :: t when t: String.t | float | true | false | nil

Converts formatted keys to unformatted keys

Link to this function serialize_keys(map) View Source
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