Docs
chromia.com

FUNCTION

json.as_text_or_null

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