Strava v1.0.0 Strava.Deserializer View Source

Helper functions for deserializing responses into models.

Link to this section Summary

Link to this section Functions

Link to this function

deserialize(model, field, atom, options) View Source

Link to this function

deserialize(model, field, type, mod, options) View Source
deserialize(
  struct(),
  atom(),
  :list | :struct | :map | :date | :datetime,
  module(),
  map()
) :: any()

Update the provided model with a deserialization of a nested value.

Link to this function

transform(value, options) View Source