# DecoderCE

<pre class="nacara-api__signature nacara-api__signature--hanging"><code><span class="tok-keyword">module</span> <span class="tok-type">DecoderCE</span></code></pre>

| | |
|---|---|
| Assembly | `Ranvier.Wire` |
| Attributes | `[<AutoOpen>]` |

## Declared inside

| | |
|---|---|
| [`DecoderBuilder`](/Ranvier/reference/ranvier-wire/ranvier-wire-thoth-json-core/decoderce/decoderbuilder/) | The builder behind `decoder` |

## Functions and values

<div class="nacara-api__entry" id="decoder">
<a class="nacara-api__anchor"
                           href="#decoder"
                           aria-label="Link to decoder"
                           data-pagefind-ignore></a>
<details class="nacara-api__member">
<summary>
<pre class="nacara-api__signature nacara-api__signature--hanging"><code><span class="tok-function">decoder</span><span class="tok-punctuation">:</span> <a class="tok-type" href="/Ranvier/reference/ranvier-wire/ranvier-wire-thoth-json-core/decoderce/decoderbuilder/">DecoderBuilder</a></code></pre>
</summary>
<div class="nacara-api__body">

Compose decoders. `let!` runs them one after the other, `and!` runs them
independently.

```fsharp
let pointDecoder =
decoder {
let! x = Decode.field "x" Decode.int
and! y = Decode.field "y" Decode.int

return { X = x; Y = y }
}
```


</div>
</details>
</div>
