> ## Documentation Index
> Fetch the complete documentation index at: https://stars-components.js.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Function: Json()

> **Json**\<`T`>(`result`): `Promise`\<[`FetchResult`](/documentation/api/safe-fetch/type-aliases/FetchResult)\<`T`>>

Defined in: [packages/safe-fetch/src/lib/fetch.ts:30](https://github.com/wolfstar-project/stars-components/blob/5aefd164bc5fc41e5a35d3abf908c288163dd354/packages/safe-fetch/src/lib/fetch.ts#L30)

## Type Parameters

### T

`T` *extends* `object`

## Parameters

### result

[`Awaitable`](/documentation/api/safe-fetch/type-aliases/Awaitable)\<[`FetchResult`](/documentation/api/safe-fetch/type-aliases/FetchResult)\<`Response`>>

## Returns

`Promise`\<[`FetchResult`](/documentation/api/safe-fetch/type-aliases/FetchResult)\<`T`>>
