# readJSON

URL: https://www.caprid.com/docs/reference/typescript/caprid/relay/index/functions/readjson/

```ts
function readJSON(object): unknown;
```

Defined in: [relay-sdks/ts/src/payload.ts:24](https://github.com/caprids/relay-sdks/blob/main/ts/src/payload.ts#L24)

Parse one UTF-8 JSON object payload. The result is not schema-validated.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `object` | `Pick`\<[`MoqtObject`](https://www.caprid.com/docs/reference/typescript/caprid/relay/index/interfaces/moqtobject/), `"payload"`\> |

## Returns

`unknown`
