# convert_gtv_to_text · FT4 Rell API · Chromia Docs (concept)

> function convert_ gtv_ to_ text(gtv: gtv, indentation_ index: integer, in_ dict: boolean): text Converts a gtv value to a pretty text representation, with 

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.utils/convert_gtv_to_text/

FUNCTION

# convert\_gtv\_to\_text

```signature
function convert_gtv_to_text(gtv: gtv, indentation_index: integer, in_dict: boolean): text
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/utils/utils.rell#lines-137)

Converts a gtv value to a pretty text representation, with newlines and indentations.
Used to create pretty auth messages which include all parameters passed to a certain
operation, regardless of complexity.

It's still recommended to create custom auth messages for complex operations, as they
will always be more readable than any automatically generated text.

**Parameters**

* **gtv** — the gtv value to convert.
* **indentation\_index** — how many collections deep we are. Used for recursive iteration on collections
* **in\_dict** — if inside a dictionary, it will not add indent output except collections. This prevents dicts having `\t` between key and value.

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.utils/convert_gtv_to_text.html)Generated API reference, mirrored from the live docs
