> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-service-account.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON Reader

JSONReader is a reader class that allows you to read data from JSON files.

## Parameters

<Snippet file="json-reader-reference.mdx" />

## Methods

### `read()`

Reads a JSON file and returns a list of documents.

| Parameter | Type                   | Default  | Description                                 |
| --------- | ---------------------- | -------- | ------------------------------------------- |
| `path`    | `Union[Path, IO[Any]]` | Required | Path to the JSON file or a file-like object |
| `name`    | `Optional[str]`        | `None`   | Name override for the resulting documents   |

### `async_read()`

The async variant of `read()`. It accepts the same parameters.
