# `Lotus.Normalizer`
[🔗](https://github.com/typhoonworks/lotus/blob/v0.16.4/lib/lotus/normalizer.ex#L1)

Protocol for normalizing raw database values into JSON-safe, displayable forms.

Lotus applies this protocol to all query result values before they reach
consumers (UI, exports, API). Implement this protocol for custom database
types that need special handling.

# `t`

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

All the types that implement this protocol.

# `normalize`

```elixir
@spec normalize(t()) :: term()
```

Normalize a value so it is JSON-safe and human-readable.

---

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