# JsonTransport (@salmonui/data/json)

> The JsonTransport type of @salmonui/data/json: Sends one protocol request and resolves with its response. Must honor signal.

Canonical: https://salmonui.dev/docs/reference/data/json/JsonTransport

```ts
import type { JsonTransport } from '@salmonui/data/json';
```

Also exported from `@salmonui/data`.

Entry index: https://salmonui.dev/docs/reference/data/json (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data/json.md).

## Reference

Kind: type

```ts
type JsonTransport = (request: WireRequest, ctx: TransportContext) => Promise<WireResponse>;
```

Sends one protocol request and resolves with its response. Must honor `signal`.
