content_image/674164.jpg
## 12.18 JSON Functions 

The functions described in this section perform operations on JSON values. For discussion of the JSON data type and additional examples showing how to use these functions, see Section 11.5, “The JSON Data Type” . 

For functions that take a JSON argument, an error occurs if the argument is not a valid JSON value. Arguments parsed as JSON are indicated by json_doc ; arguments indicated by val  are not parsed. 

A set of spatial functions for operating on GeoJSON values is also available. See Section 12.17.11, “Spatial GeoJSON Functions” . 

## 12.18.1 JSON Function Reference 

<img src='content_image/674164.jpg'>

