# json.as_text_or_null · Rell standard library · Chromia Docs (concept)

> pure function as_ text_ or_ null(): text ? Convert this JSON text value to text. Returns this JSON text as text, or null if this JSON value is not text Sin

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/json/as_text_or_null/

FUNCTION

# json.as\_text\_or\_null

```signature
pure function as_text_or_null(): text?
```

Convert this JSON text value to text.

**Returns**

this JSON text as text, or null if this JSON value is not text

Since 0.14.16

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