# `JSONRPC2.Spec.Result`

Struct which represents JSONRPC result.

# `t`

```elixir
@type t() :: %JSONRPC2.Spec.Result{
  id: JSONRPC2.Spec.id(),
  jsonrpc: String.t(),
  result: term()
}
```

# `new`

```elixir
@spec new(JSONRPC2.Spec.id(), term()) :: t()
```

---

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