# `JSONRPC2.Spec.Response`

Helper functions to work with respoinse.

# `many_resp`

```elixir
@type many_resp() :: [one_resp()]
```

# `one_resp`

```elixir
@type one_resp() :: JSONRPC2.Spec.Error.t() | JSONRPC2.Spec.Result.t()
```

# `raw_resp`

```elixir
@type raw_resp() :: map() | [map()]
```

# `resp`

```elixir
@type resp() :: one_resp() | many_resp()
```

# `build`

```elixir
@spec build(raw_resp()) :: resp()
```

# `error`

# `error`

# `error`

# `parse`

```elixir
@spec parse(String.t()) :: resp()
```

# `result`

---

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