---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/artifacts/toon/interfaces/ToonDecodeOptions.md
description: TOON decode options.
---

# Interface: ToonDecodeOptions

Defined in: [src/batteries/artifacts/toon/index.ts:68](https://github.com/NHTIO/ADK/blob/v1.20260907.0/src/src/batteries/artifacts/toon/index.ts#L68)

TOON decode options.

## Remarks

Passed to the `@toon-format/toon` `decode` function.

## Properties

| Property                                       | Type      | Description                                              | Defined in                                                                                                                                |
| ---------------------------------------------- | --------- | -------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|  `indentSize?` | `number`  | The indent size used in the TOON encoding (default: 2).  | [src/batteries/artifacts/toon/index.ts:70](https://github.com/NHTIO/ADK/blob/v1.20260907.0/src/src/batteries/artifacts/toon/index.ts#L70) |
|  `strict?`         | `boolean` | When `true`, reject non-standard TOON (default: `true`). | [src/batteries/artifacts/toon/index.ts:72](https://github.com/NHTIO/ADK/blob/v1.20260907.0/src/src/batteries/artifacts/toon/index.ts#L72) |
