# `Decree.Serialization.Serializer`
[🔗](https://github.com/sparkle-space/decree/blob/v0.1.0/lib/decree/serialization/serializer.ex#L1)

Specification of a generic serializer.

# `config`

```elixir
@type config() :: Keyword.t()
```

# `t`

```elixir
@type t() :: module()
```

# `deserialize`

```elixir
@callback deserialize(binary() | map(), config()) :: any()
```

Deserialize the given data to the corresponding term.

# `serialize`

```elixir
@callback serialize(any()) :: binary() | map()
```

Serialize the given term.

---

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