---
metadata:
  - name: generator
    content: Diplodoc Platform v5.51.0
alternate:
  - https://e2e.viewer-test.ydocs.io/en/yql/syntax/pragma/yson.md
  - https://e2e.viewer-test.ydocs.io/ru/yql/syntax/pragma/yson.md
  - href: https://e2e.viewer-test.ydocs.io/en/yql/syntax/pragma/yson.md
    type: text/markdown
    title: Markdown version
  - href: https://e2e.viewer-test.ydocs.io/en/llms.txt?revision=ytsaurus-test-revision5
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://e2e.viewer-test.ydocs.io/en/llms.txt?revision=ytsaurus-test-revision5

# Yson

Management of Yson UDF default behavior. To learn more, see the [documentation](https://e2e.viewer-test.ydocs.io/en/yql/udf/list/yson.md), in particular, [Yson::Options](https://e2e.viewer-test.ydocs.io/en/yql/udf/list/yson.md#ysonoptions).

The Yson pragma affects all subsequent expressions up to the end of the module in which it occurs.

## yson.AutoConvert

| Value type | By default |
| --- | --- |
| Flag | false |

Automatic conversion of values to the required data type in all Yson UDF calls, including implicit calls.

## yson.Strict

| Value type | By default |
| --- | --- |
| Flag | true |

Strict mode control in all Yson UDF calls, including implicit calls. Empty or `"true"` value enables strict mode. If the value is `"false"`, strict mode is disabled.

## yson.DisableStrict

| Value type | By default |
| --- | --- |
| Flag | false |

An inverted version of `yson.Strict`. Empty or `"true"` value disables strict mode. If the value is `"false"`, strict mode is enabled.