aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/docs/en/syntax/pragma/yson.md
blob: 4eb9c75836a70b485c12beac45eae88002ad6802 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Yson

Managing the default behavior of Yson UDF, for more information, see the [documentation](../../udf/list/yson.md) and, in particular, [Yson::Options](../../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` {#autoconvert}

| Value type | Default |
| --- | --- |
| Flag | false |

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

## `yson.Strict` {#strict}

| Value type | Default |
| --- | --- |
| Flag | true |

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

## `yson.DisableStrict`

| Value type | Default |
| --- | --- |
| Flag | false |

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