# WireReadRequest (@salmonui/data/json)

> The WireReadRequest interface of @salmonui/data/json.

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

```ts
import type { WireReadRequest } 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: interface

```ts
interface WireReadRequest {
    readonly v: 1;
    readonly id: string;
    readonly query: WireQuery;
    readonly groupPath?: readonly {
        readonly field: string;
        readonly key: Json;
    }[];
    readonly parent?: Json;
    readonly facet?: {
        readonly field: string;
        readonly search?: string;
        readonly limit?: number;
    };
    readonly count?: boolean;
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `v` | `readonly v: 1;` |  |  |
| `id` | `readonly id: string;` |  |  |
| `query` | `readonly query: WireQuery;` |  |  |
| `groupPath` | `readonly groupPath?: readonly {     readonly field: string;     readonly key: Json; }[];` | optional | Lazy group load: `[]` = root level, otherwise the children of that group. |
| `parent` | `readonly parent?: Json;` | optional | Tree read: key of the parent row; `null` reads the root level. |
| `facet` | `readonly facet?: {     readonly field: string;     readonly search?: string;     readonly limit?: number; };` | optional |  |
| `count` | `readonly count?: boolean;` | optional | Default true; false skips the total count. |
