# Recursive

Parameter `Recursive` indicates whether to fetch files recursively.

## JSON Structure

**Location in template:**
```
ImageSourceOptions
    └── Recursive
```

**Parent object:** [ImageSource](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/image-source.md) object

**Example:**

```json
{
    "Recursive": 1
}
```

> [!NOTE]
> - This snippet shows only the `Recursive` parameter.
> - To use it, embed this parameter within a [ImageSource](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/image-source.md) object.
> - For the complete JSON structure, see:
>   - [Full JSON Structure](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#full-json-structure)
>   - [Minimal Valid JSON](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#minimal-valid-json-example)

## Parameter Details

| Recursive Parameter Details |
| :-------------------------- |
| **Description**<br>Use 0 (false) and 1 (true) to define whether to fetch files. |
| **Type**<br>*int* |
| **Value range**<br>[0,1] |
| **Default Value**<br>1 |
