# TaskSettingNameArray

Parameter `TaskSettingNameArray` represents the collection of task setting object names, used to refer to the [`BarcodeReaderTaskSetting`](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/barcode-reader-task-settings.md),[`LabelRecognizerTaskSetting`](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/label-recognizer-task-settings.md),[`DocumentNormalizerTaskSetting`](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/document-normalizer-task-settings.md), [`OutputTaskSetting`](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/output-task-setting.md) objects. It is used to define recognition tasks such as reading barcodes, recognizing labels, or detecting document quads.

## JSON Structure

**Location in template:**
```
TargetROIDefOptions[i]
    └── TaskSettingNameArray
```

**Parent object:** [TargetROIDef](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/target-roi-definition/index.md) object

**Example:**

```json
{
    "TaskSettingNameArray": ["dbr_task", "dlr_task", "ddn_task"]
}
```

> [!NOTE]
> - This snippet shows only the `TaskSettingNameArray` parameter.
> - To use it, embed this parameter within a [TargetROIDef](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/target-roi-definition/index.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

| TaskSettingNameArray Parameter Details |
| :----------------------------------- |
| **Type**<br>*String[]* |
| **Range**<br>Each element represents the name of a `BarcodeReaderTaskSetting` object, `LabelRecognizerTaskSetting` object, `DocumentNormalizerTaskSetting` object, or `OutputTaskSetting` object. |
| **Default Value**<br>	["dbr_task_default", "dlr_task_default", "ddn_task_default"] |
| **Remarks**<br>If `TaskSettingNameArray` is not specified, a default array ["dbr_task_default", "dlr_task_default", "ddn_task_default"] will be created. The `TargetROIDef` object will have a default configuration of tasks including one barcode reading task, one label recognition task, and one document normalizer task.|
