# gtv.to_json · Rell standard library · Chromia Docs (concept)

> pure function to_ json(): json Convert this GTV to a JSON value. Big integers are serialized as JSON numbers. Note that when deserializing back with gtv.fr

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/gtv/to_json/

FUNCTION

# gtv.to\_json

```signature
pure function to_json(): json
```

Convert this GTV to a JSON value.

Big integers are serialized as JSON numbers. Note that when deserializing back with
`gtv.from_json()`, small big integers (within standard integer range) will become regular
integers, and large big integers cannot be deserialized (will cause a runtime error).

**Returns**

a JSON value equivalent to this GTV

Since 0.9.0

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/gtv/to_json.html)Generated API reference, mirrored from the live docs
