<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h2 class="title">
      <a name="json-functions">
      </a>
      14.17 JSON Functions
     </h2>
    </div>
   </div>
  </div>
  <div class="toc">
   <dl class="toc">
    <dt>
     <span class="section">
      <a href="json-function-reference.html">
       14.17.1 JSON Function Reference
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="json-creation-functions.html">
       14.17.2 Functions That Create JSON Values
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="json-search-functions.html">
       14.17.3 Functions That Search JSON Values
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="json-modification-functions.html">
       14.17.4 Functions That Modify JSON Values
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="json-attribute-functions.html">
       14.17.5 Functions That Return JSON Value Attributes
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="json-table-functions.html">
       14.17.6 JSON Table Functions
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="json-validation-functions.html">
       14.17.7 JSON Schema Validation Functions
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="json-utility-functions.html">
       14.17.8 JSON Utility Functions
      </a>
     </span>
    </dt>
   </dl>
  </div>
  <a class="indexterm" name="idm46045195837968">
  </a>
  <p>
   The functions described in this section perform operations on JSON
    values. For discussion of the
   <a class="link" href="json.html" title="13.5 The JSON Data Type">
    <code class="literal">
     JSON
    </code>
   </a>
   data type and additional examples showing how to use these
    functions, see
   <a class="xref" href="json.html" title="13.5 The JSON Data Type">
    Section 13.5, “The JSON Data Type”
   </a>
   .
  </p>
  <p>
   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
   <em class="replaceable">
    <code>
     json_doc
    </code>
   </em>
   ; arguments
    indicated by
   <em class="replaceable">
    <code>
     val
    </code>
   </em>
   are not parsed.
  </p>
  <p>
   Functions that return JSON values always perform normalization of
    these values (see
   <a class="xref" href="json.html#json-normalization" title="Normalization, Merging, and Autowrapping of JSON Values">
    Normalization, Merging, and Autowrapping of JSON Values
   </a>
   ), and thus
    orders them.
   <span class="emphasis">
    <em>
     The precise outcome of the sort is subject to
    change at any time; do not rely on it to be consistent between
    releases
    </em>
   </span>
   .
  </p>
  <p>
   A set of spatial functions for operating on GeoJSON values is also
    available. See
   <a class="xref" href="spatial-geojson-functions.html" title="14.16.11 Spatial GeoJSON Functions">
    Section 14.16.11, “Spatial GeoJSON Functions”
   </a>
   .
  </p>
 </div>
 <br/>
</div>
