# `DocuSign.Deserializer`
[🔗](https://github.com/neilberkman/docusign_elixir/blob/v3.4.0/lib/docusign/deserializer.ex#L5)

Helper functions for deserializing responses into models

# `deserialize`

```elixir
@spec deserialize(struct(), atom(), atom(), (any() -&gt; any())) :: struct()
```

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

### Parameters

- `model` (struct) - The model to be updated
- `field` (atom) - The field to be updated
- `field_type` (atom) - The type of the field to be updated
- `decoder` (function) - A function that can decode the value

### Returns

Struct

---

*Consult [api-reference.md](api-reference.md) for complete listing*
