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

> pure function as_ boolean(): boolean Convert this JSON boolean value to a boolean. Throws exception — if this JSON value is not a boolean Since 0.14.16

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

FUNCTION

# json.as\_boolean

```signature
pure function as_boolean(): boolean
```

Convert this JSON boolean value to a boolean.

**Throws**

* `exception` — if this JSON value is not a boolean

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_boolean.html)Generated API reference, mirrored from the live docs
