<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc version 1.6.17 (Ruby 3.0.4) -->


<!DOCTYPE rfc  [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">

]>

<?rfc comments="yes"?>

<rfc ipr="trust200902" docName="draft-ietf-jsonpath-base-09" category="std" consensus="true" submissionType="IETF" xml:lang="en" tocDepth="4" tocInclude="true" sortRefs="true" symRefs="true">
  <front>
    <title abbrev="JSONPath">JSONPath: Query expressions for JSON</title>

    <author initials="S." surname="Gössner" fullname="Stefan Gössner" role="editor">
      <organization>Fachhochschule Dortmund</organization>
      <address>
        <postal>
          <street>Sonnenstraße 96</street>
          <city>Dortmund</city>
          <code>D-44139</code>
          <country>Germany</country>
        </postal>
        <email>stefan.goessner@fh-dortmund.de</email>
      </address>
    </author>
    <author initials="G." surname="Normington" fullname="Glyn Normington" role="editor">
      <organization></organization>
      <address>
        <postal>
          <street></street>
          <city>Winchester</city>
          <region></region>
          <code></code>
          <country>UK</country>
        </postal>
        <phone></phone>
        <email>glyn.normington@gmail.com</email>
      </address>
    </author>
    <author initials="C." surname="Bormann" fullname="Carsten Bormann" role="editor">
      <organization ascii="Universitaet Bremen TZI">Universität Bremen TZI</organization>
      <address>
        <postal>
          <street>Postfach 330440</street>
          <city>Bremen</city>
          <code>D-28359</code>
          <country>Germany</country>
        </postal>
        <phone>+49-421-218-63921</phone>
        <email>cabo@tzi.org</email>
      </address>
    </author>

    <date year="2023"/>

    <area>ART</area>
    <workgroup>JSONPath WG</workgroup>
    <keyword>JSON</keyword>

    <abstract>


<t>JSONPath defines a string syntax for selecting and extracting JSON (RFC 8259) values
from a JSON value.</t>



    </abstract>

    <note title="About This Document" removeInRFC="true">
      <t>
        Status information for this document may be found at <eref target="https://datatracker.ietf.org/doc/draft-ietf-jsonpath-base/"/>.
      </t>
      <t>
        Discussion of this document takes place on the
        JSON Path Working Group mailing list (<eref target="mailto:jsonpath@ietf.org"/>),
        which is archived at <eref target="https://mailarchive.ietf.org/arch/browse/jsonpath/"/>.
        Subscribe at <eref target="https://www.ietf.org/mailman/listinfo/jsonpath/"/>.
      </t>
      <t>Source for this draft and an issue tracker can be found at
        <eref target="https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-base"/>.</t>
    </note>


  </front>

  <middle>


<!-- define an ALD to simplify below -->
<!-- use as {: unnumbered} -->

<!-- editorial issue: lots of complicated nesting of quotes, as in -->
<!-- `"13 == '13'"` or `$`.  We probably should find a simpler style -->

<section anchor="introduction"><name>Introduction</name>

<t>JSON <xref target="RFC8259"/> is a popular representation
format for structured data values.
JSONPath defines a string syntax for selecting and extracting JSON values
from a JSON value.</t>

<t>JSONPath is not intended as a replacement for, but as a more powerful
companion to, JSON Pointer <xref target="RFC6901"/>. See <xref target="json-pointer"/>.</t>

<section anchor="terminology"><name>Terminology</name>

<t>The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
"<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.</t>

<t>The grammatical rules in this document are to be interpreted as ABNF,
as described in <xref target="RFC5234"/>.
ABNF terminal values in this document define Unicode code points rather than
their UTF-8 encoding.
For example, the Unicode PLACE OF INTEREST SIGN (U+2318) would be defined
in ABNF as <spanx style="verb">%x2318</spanx>.</t>

<t>The terminology of <xref target="RFC8259"/> applies except where clarified below.
The terms "Primitive" and "Structured" are used to group
different kinds of values as in <xref section="1" sectionFormat="of" target="RFC8259"/>; JSON Objects and Arrays are
structured, all other values are primitive.
Definitions for "Object", "Array", "Number", and "String" remain
unchanged.
Importantly "object" and "array" in particular do not take on a
generic meaning, such as they would in a general programming context.</t>

<t>Additional terms used in this document are defined below.</t>

<dl>
  <dt>Value:</dt>
  <dd>
    <t>As per <xref target="RFC8259"/>, a structure conforming to the generic data model of JSON, i.e.,
composed of components such as structured values, namely JSON objects and arrays, and
primitive data, namely numbers and text strings as well as the special
values null, true, and false.
<xref target="RFC8259"/> focuses on the textual representation of JSON values and
does not fully define the value abstraction assumed here.</t>
  </dd>
  <dt>Member:</dt>
  <dd>
    <t>A name/value pair in an object.  (A member is not itself a value.)</t>
  </dd>
  <dt>Name:</dt>
  <dd>
    <t>The name (a string) in a name/value pair constituting a member.
This is also used in <xref target="RFC8259"/>, but that specification does not
formally define it.
It is included here for completeness.</t>
  </dd>
  <dt>Element:</dt>
  <dd>
    <t>A value in a JSON array.</t>
  </dd>
  <dt>Index:</dt>
  <dd>
    <t>An integer that identifies a specific element in an array.</t>
  </dd>
  <dt>Query:</dt>
  <dd>
    <t>Short name for a JSONPath expression.</t>
  </dd>
  <dt>Argument:</dt>
  <dd>
    <t>Short name for the value a JSONPath expression is applied to.</t>
  </dd>
  <dt>Location:</dt>
  <dd>
    <t>the position of a value within the argument. This can be thought of
as a sequence of names and indexes navigating to the value through
the objects and arrays in the argument, with the empty sequence
indicating the argument itself.
A location can be represented as a Normalized Path (defined below).</t>
  </dd>
  <dt>Node:</dt>
  <dd>
    <t>The pair of a value along with its location within the argument.</t>
  </dd>
  <dt>Root Node:</dt>
  <dd>
    <t>The unique node whose value is the entire argument.</t>
  </dd>
  <dt>Root Node Identifier:</dt>
  <dd>
    <t>The expression <spanx style="verb">$</spanx> which refers to the root node of the argument.</t>
  </dd>
  <dt>Current Node Identifier:</dt>
  <dd>
    <t>The expression <spanx style="verb">@</spanx> which refers to the current node in the context
of the evaluation of a filter expression (described later).</t>
  </dd>
  <dt>Children (of a node):</dt>
  <dd>
    <t>If the node is an array, the nodes of its elements.
If the node is an object, the nodes of its member values.
If the node is neither an array nor an object, it has no children.</t>
  </dd>
  <dt>Descendants (of a node):</dt>
  <dd>
    <t>The children of the node, together with the children of its children, and so forth
recursively. More formally, the descendants relation between nodes is the transitive
closure of the children relation.</t>
  </dd>
  <dt>Depth (of a descendant node within a value):</dt>
  <dd>
    <t>The number of ancestors of the node within the value. The root node of the value has depth zero,
the children of the root node have depth one, their children have depth two, and so forth.</t>
  </dd>
  <dt>Segment:</dt>
  <dd>
    <t>One of the constructs which select children (<spanx style="verb">[]</spanx>)
or descendants (<spanx style="verb">..[]</spanx>) of an input value.</t>
  </dd>
  <dt>Nodelist:</dt>
  <dd>
    <t>A list of nodes.
While a nodelist can be represented in JSON, e.g. as an array, this document
does not require or assume any particular representation.</t>
  </dd>
  <dt>Normalized Path:</dt>
  <dd>
    <t>A simple form of JSONPath expression that identifies a node in a value by
providing a query that results in exactly that node.  Similar
to, but syntactically different from, a JSON Pointer <xref target="RFC6901"/>.</t>
  </dd>
  <dt>Unicode Scalar Value:</dt>
  <dd>
    <t>Any Unicode <xref target="UNICODE"/> code point except high-surrogate and low-surrogate code points.
In other words, integers in either of the inclusive base 16 ranges 0 to D7FF and
E000 to 10FFFF. JSON string values are sequences of Unicode scalar values.</t>
  </dd>
  <dt>Singular Nodelist:</dt>
  <dd>
    <t>A nodelist containing at most one node.</t>
  </dd>
  <dt>Singular Path:</dt>
  <dd>
    <t>A JSONPath expression built from segments each of which, regardless of the input value,
produces a Singular Nodelist.</t>
  </dd>
  <dt>Selector:</dt>
  <dd>
    <t>A single item within a segment that takes the input value and produces a nodelist
consisting of child nodes of the input value.</t>
  </dd>
</dl>

<section anchor="json-values-as-trees-of-nodes"><name>JSON Values as Trees of Nodes</name>

<t>This document models the argument as a tree of JSON values, each
with its own node.
A node is either the root node or one of its descendants.</t>

<t>This document models the result of applying a query to the
argument as a nodelist (a list of nodes).</t>

<t>So nodes are the selectable parts of the argument.
The only parts of an object that can be selected by a query are the
member values. Member names and members (name/value pairs) cannot be
selected.
So member values have nodes, but members and member names do not.
Similarly, member values are children of an object, but members and
member names are not.</t>

</section>
</section>
<section anchor="history"><name>History</name>

<t>This section is informative.</t>

<t>This document picks up <contact fullname="Stefan Gössner"/>'s popular JSONPath proposal
dated 2007-02-21 <xref target="JSONPath-orig"/>, builds on the experience from the widespread
deployment of its implementations, and provides a normative specification for it.</t>

<t><xref target="inspired-by-xpath"/> describes how JSONPath was inspired by XML's XPath
<xref target="XPath"></xref>.</t>

<t>JSONPath was intended as a light-weight companion to JSON
implementations in programming languages such as PHP and JavaScript,
so instead of defining its own expression language, like XPath did,
JSONPath delegated parts of a query to the underlying
runtime, e.g., JavaScript's <spanx style="verb">eval()</spanx> function.
As JSONPath was implemented in more environments, JSONPath
expressions became decreasingly portable.
For example, regular expression processing was often delegated to a
convenient regular expression engine.</t>

<t>This document aims to remove such implementation-specific dependencies and
serve as a common JSONPath specification that can be used across
programming languages and environments.
This means that backwards compatibility is
not always achieved; a design principle of this document is to
go with a "consensus" between implementations even if it is rough, as
long as that does not jeopardize the objective of obtaining a usable,
stable JSON query language.</t>

</section>
<section anchor="json-values"><name>JSON Values</name>

<t>The JSON value a JSONPath query is applied to is, by definition, a
valid JSON value. A JSON value is often constructed by parsing
a JSON text.</t>

<t>The parsing of a JSON text into a JSON value and what happens if a JSON
text does not represent valid JSON are not defined by this document.
Sections <xref target="RFC8259" section="4" sectionFormat="bare"/> and <xref target="RFC8259" section="8" sectionFormat="bare"/> of <xref target="RFC8259"/> identify specific situations that may
conform to the grammar for JSON texts but are not interoperable uses
of JSON, as they may cause unpredictable behavior.
This document does not attempt to define predictable
behavior for JSONPath queries in these situations.</t>

<t>Specifically, the "Semantics" subsections of Sections
<xref format="counter" target="name-selector"/>, <xref format="counter" target="wildcard"/>,
<xref format="counter" target="filter-selector"/>, and <xref format="counter" target="descendant-segment"/> describe behavior that
becomes unpredictable when the JSON value for one of the objects
under consideration was constructed out of JSON text that exhibits
multiple members for a single object that share the same member name
("duplicate names", see <xref section="4" sectionFormat="of" target="RFC8259"/>).
Also, selecting a child by name (<xref target="name-selector"/>) and comparing strings
(<xref target="comparisons"/> in <xref target="filter-selector"/>) assume these
strings are sequences of Unicode scalar values, becoming unpredictable
if they are not (<xref section="8.2" sectionFormat="of" target="RFC8259"/>).</t>

</section>
<section anchor="overview"><name>Overview of JSONPath Expressions</name>

<t>This section is informative.</t>

<t>A JSONPath expression is applied to a JSON value, known as the argument.
The output is a nodelist.</t>

<t>A JSONPath expression consists of an identifier followed by a series
of zero or more segments each of which contains one or more selectors.</t>

<section anchor="ids"><name>Identifiers</name>

<t>The root node identifier <spanx style="verb">$</spanx> refers to the root node of the argument,
i.e., to the argument as a whole.
Every JSONPath expression begins with the root node identifier.</t>

<t>The current node identifier <spanx style="verb">@</spanx> refers to the current node in the context
of the evaluation of a filter expression (described later).</t>

</section>
<section anchor="segments"><name>Segments</name>

<t>Segments select children (<spanx style="verb">[]</spanx>) or descendants (<spanx style="verb">..[]</spanx>) of an input value.</t>

<t>Segments can use <em>bracket notation</em>, for example:</t>

<figure><artwork><![CDATA[
$['store']['book'][0]['title']
]]></artwork></figure>

<t>or the more compact <em>dot notation</em>, for example:</t>

<figure><artwork><![CDATA[
$.store.book[0].title
]]></artwork></figure>

<t>A JSONPath expression may use a combination of bracket and dot notations.</t>

<t>This document treats the bracket notations as canonical and defines the shorthand dot notation in terms
of bracket notation. Examples and descriptions use shorthands where convenient.</t>

</section>
<section anchor="selectors"><name>Selectors</name>

<t>A wildcard <spanx style="verb">*</spanx> (<xref target="wildcard"/>) in the expression <spanx style="verb">[*]</spanx> selects all children of a
node and in the expression <spanx style="verb">..[*]</spanx> selects all descendants of a node.</t>

<t>An array slice <spanx style="verb">start:end:step</spanx> (<xref target="slice"/>) selects a series of
elements from an array, giving a start position, an end position, and
an optional step value that moves the position from the start to the
end.</t>

<t>Filter expressions <spanx style="verb">?&lt;boolean expr&gt;</spanx> select certain children of an object or array, as in:</t>

<figure><artwork><![CDATA[
$.store.book[?@.price < 10].title
]]></artwork></figure>

</section>
<section anchor="summary"><name>Summary</name>

<t><xref target="tbl-overview"/> provides a brief overview of JSONPath syntax.</t>

<texttable title="Overview of JSONPath syntax" anchor="tbl-overview">
      <ttcol align='left'>Syntax Element</ttcol>
      <ttcol align='left'>Description</ttcol>
      <c><spanx style="verb">$</spanx></c>
      <c><xref target="root-identifier">root node identifier</xref></c>
      <c><spanx style="verb">@</spanx></c>
      <c><xref target="filter-selector">current node identifier</xref> (valid only within filter selectors)</c>
      <c><spanx style="verb">[&lt;selectors&gt;]</spanx></c>
      <c><xref target="child-segment">child segment</xref> selects zero or more children of a node; contains one or more selectors, separated by commas</c>
      <c><spanx style="verb">.name</spanx></c>
      <c>shorthand for <spanx style="verb">['name']</spanx></c>
      <c><spanx style="verb">.*</spanx></c>
      <c>shorthand for <spanx style="verb">[*]</spanx></c>
      <c><spanx style="verb">..[&lt;selectors&gt;]</spanx></c>
      <c><xref target="descendant-segment">descendant segment</xref>: selects zero or more descendants of a node; contains one or more selectors, separated by commas</c>
      <c><spanx style="verb">..name</spanx></c>
      <c>shorthand for <spanx style="verb">..['name']</spanx></c>
      <c><spanx style="verb">..*</spanx></c>
      <c>shorthand for <spanx style="verb">..[*]</spanx></c>
      <c><spanx style="verb">'name'</spanx></c>
      <c><xref target="name-selector">name selector</xref>: selects a named child of an object</c>
      <c><spanx style="verb">*</spanx></c>
      <c><xref target="name-selector">wildcard selector</xref>: selects all children of a node</c>
      <c><spanx style="verb">3</spanx></c>
      <c><xref target="index-selector">index selector</xref>: selects an indexed child of an array (from 0)</c>
      <c><spanx style="verb">0:100:5</spanx></c>
      <c><xref target="slice">array slice selector</xref>: start:end:step for arrays</c>
      <c><spanx style="verb">?&lt;expr&gt;</spanx></c>
      <c><xref target="filter-selector">filter selector</xref>: selects particular children using a boolean expression</c>
      <c><spanx style="verb">length(@.foo)</spanx></c>
      <c><xref target="fnex">function extension</xref>: invokes a function in a filter expression</c>
</texttable>

</section>
</section>
<section anchor="jsonpath-examples"><name>JSONPath Examples</name>

<t>This section is informative. It provides examples of JSONPath expressions.</t>

<t>The examples are based on the simple JSON value shown in
<xref target="fig-example-value"/>, representing a bookstore (that also has a bicycle).</t>

<figure title="Example JSON value" anchor="fig-example-value"><sourcecode type="json"><![CDATA[
{ "store": {
    "book": [
      { "category": "reference",
        "author": "Nigel Rees",
        "title": "Sayings of the Century",
        "price": 8.95
      },
      { "category": "fiction",
        "author": "Evelyn Waugh",
        "title": "Sword of Honour",
        "price": 12.99
      },
      { "category": "fiction",
        "author": "Herman Melville",
        "title": "Moby Dick",
        "isbn": "0-553-21311-3",
        "price": 8.99
      },
      { "category": "fiction",
        "author": "J. R. R. Tolkien",
        "title": "The Lord of the Rings",
        "isbn": "0-395-19395-8",
        "price": 22.99
      }
    ],
    "bicycle": {
      "color": "red",
      "price": 399
    }
  }
}
]]></sourcecode></figure>

<t><xref target="tbl-example"/> shows some JSONPath queries that might be applied to this example and their intended results.</t>

<texttable title="Example JSONPath expressions and their intended results when applied to the example JSON value" anchor="tbl-example">
      <ttcol align='left'>JSONPath</ttcol>
      <ttcol align='left'>Intended result</ttcol>
      <c><spanx style="verb">$.store.book[*].author</spanx></c>
      <c>the authors of all books in the store</c>
      <c><spanx style="verb">$..author</spanx></c>
      <c>all authors</c>
      <c><spanx style="verb">$.store.*</spanx></c>
      <c>all things in store, which are some books and a red bicycle</c>
      <c><spanx style="verb">$.store..price</spanx></c>
      <c>the prices of everything in the store</c>
      <c><spanx style="verb">$..book[2]</spanx></c>
      <c>the third book</c>
      <c><spanx style="verb">$..book[-1]</spanx></c>
      <c>the last book in order</c>
      <c><spanx style="verb">$..book[0,1]</spanx><br /><spanx style="verb">$..book[:2]</spanx></c>
      <c>the first two books</c>
      <c><spanx style="verb">$..book[?(@.isbn)]</spanx></c>
      <c>all books with an ISBN number</c>
      <c><spanx style="verb">$..book[?(@.price&lt;10)]</spanx></c>
      <c>all books cheaper than 10</c>
      <c><spanx style="verb">$..*</spanx></c>
      <c>all member values and array elements contained in input value</c>
</texttable>

</section>
</section>
<section anchor="jsonpath-syntax-and-semantics"><name>JSONPath Syntax and Semantics</name>

<section anchor="synsem-overview"><name>Overview</name>

<t>A JSONPath expression is a string which, when applied to a JSON value,
the <em>argument</em>, selects zero or more nodes of the argument and outputs
these nodes as a nodelist.</t>

<t>A query <bcp14>MUST</bcp14> be encoded using UTF-8.
The grammar for queries given in this document assumes that its UTF-8 form is first decoded into
Unicode code points as described
in <xref target="RFC3629"/>; implementation approaches that lead to an equivalent
result are possible.</t>

<t>A string to be used as a JSONPath query needs to be <em>well-formed</em> and
<em>valid</em>.
A string is a well-formed JSONPath query if it conforms to the ABNF syntax in this document.
A well-formed JSONPath query is valid if it also fulfills all semantic
requirements posed by this document, which are:</t>

<t><list style="numbers">
  <t>Integer numbers in the JSONPath query that are relevant
to the JSONPath processing (e.g., index values and steps) <bcp14>MUST</bcp14> be
within the range of exact values defined in I-JSON <xref target="RFC7493"/>, namely
within the interval [-(2<sup>53</sup>)+1, (2<sup>53</sup>)-1].</t>
  <t>Uses of function extensions must be correctly typed,
as described in <xref target="fnex"/>.</t>
</list></t>

<t>A JSONPath implementation <bcp14>MUST</bcp14> raise an error for any query which is not
well-formed and valid.
The well-formedness and the validity of JSONPath queries are independent of
the JSON value the query is applied to; no further errors relating to the
well-formedness and the validity of a JSONPath query can be
raised during application of the query to a value.</t>

<t>Obviously, an implementation can still fail when executing a JSONPath
query, e.g., because of resource depletion, but this is not modeled in
this document.  However, the implementation <bcp14>MUST NOT</bcp14>
silently malfunction.  Specifically, if a valid JSONPath query is
evaluated against a structured value whose size does not fit in the
range of exact values, interfering with the correct interpretation of
the query, the implementation <bcp14>MUST</bcp14> provide an indication of overflow.</t>

<t>(Readers familiar with the HTTP error model may be reminded of 400
type errors when pondering well-formedness and validity, while
resource depletion and related errors are comparable to 500 type
errors.)</t>

</section>
<section anchor="syntax"><name>Syntax</name>

<t>Syntactically, a JSONPath query consists of a root identifier (<spanx style="verb">$</spanx>), which
stands for a nodelist that contains the root node of the argument,
followed by a possibly empty sequence of <em>segments</em>.</t>

<figure><sourcecode type="abnf"><![CDATA[
json-path = root-identifier segments
segments  = *(S segment)
]]></sourcecode></figure>

<t>The syntax and semantics of segments are defined in <xref target="segments-details"/>.</t>

</section>
<section anchor="semantics"><name>Semantics</name>

<t>In this document, the semantics of a JSONPath query define the
required results and do not prescribe the internal workings of an
implementation.</t>

<t>The semantics are that a valid query is executed against a value,
the <em>argument</em>, and produces a nodelist (i.e., a list of zero or more nodes of the value).</t>

<t>The query is a root identifier followed by a sequence of zero or more segments, each of
which is applied to the result of the previous root identifier or segment and provides
input to the next segment.
These results and inputs take the form of a nodelist.</t>

<t>Segments can be added to a query to drill further into the structure of the input value.</t>

<t>The nodelist resulting from the root identifier contains a single node,
the argument.
The nodelist resulting from the last segment is presented as the
result of the query. Depending on the specific API, it might be
presented as an array of the JSON values at the nodes, an array of
Normalized Paths referencing the nodes, or both — or some other
representation as desired by the implementation.
Note that an empty nodelist is a valid query result.</t>

<t>A segment operates on each of the nodes in its input nodelist in turn,
and the resultant nodelists are concatenated to produce
the result of the segment. A node may be selected more than once and
appears that number of times in the nodelist. Duplicate nodes are not removed.</t>

<t>A syntactically valid segment <bcp14>MUST NOT</bcp14> produce errors when executing the query.
This means that some
operations that might be considered erroneous, such as using an index
lying outside the range of an array,
simply result in fewer nodes being selected.</t>

<t>Consider this example. With the argument <spanx style="verb">{"a":[{"b":0},{"b":1},{"c":2}]}</spanx>, the
query <spanx style="verb">$.a[*].b</spanx> selects the following list of nodes: <spanx style="verb">0</spanx>, <spanx style="verb">1</spanx>
(denoted here by their value).</t>

<t>The query consists of <spanx style="verb">$</spanx> followed by three segments: <spanx style="verb">.a</spanx>, <spanx style="verb">[*]</spanx>, and <spanx style="verb">.b</spanx>.</t>

<t>Firstly, <spanx style="verb">$</spanx> produces a nodelist consisting of just the argument.</t>

<t>Next, <spanx style="verb">.a</spanx> selects from any object input node and selects the
node of any
member value of the input
node corresponding to the member name <spanx style="verb">"a"</spanx>.
The result is again a list of one node: <spanx style="verb">[{"b":0},{"b":1},{"c":2}]</spanx>.</t>

<t>Next, <spanx style="verb">[*]</spanx> selects from any array input node all its elements
(for an object input node, it would select all its member
values, but not the member names).
The result is a list of three nodes: <spanx style="verb">{"b":0}</spanx>, <spanx style="verb">{"b":1}</spanx>, and <spanx style="verb">{"c":2}</spanx>.</t>

<t>Finally, <spanx style="verb">.b</spanx> selects from any object input node with a member name
<spanx style="verb">b</spanx> and selects the node of the member value of the input node corresponding to that name.
The result is a list containing <spanx style="verb">0</spanx>, <spanx style="verb">1</spanx>.
This is the concatenation of three lists, two of length one containing
<spanx style="verb">0</spanx>, <spanx style="verb">1</spanx>, respectively, and one of length zero.</t>

<t>As a consequence of this approach, if any of the segments produces an empty nodelist,
then the whole query produces an empty nodelist.</t>

<t>If a query may produce a nodelist with more than one possible ordering, a particular implementation
may also produce distinct orderings in successive runs of the query.</t>

<t>In what follows, the semantics of each segment are defined for each kind
of input node.</t>

</section>
<section anchor="root-identifier"><name>Root Identifier</name>

<section numbered="false" toc="exclude" anchor="syntax-1"><name>Syntax</name>

<t>Every JSONPath query <bcp14>MUST</bcp14> begin with the root identifier <spanx style="verb">$</spanx>.</t>

<figure><sourcecode type="abnf"><![CDATA[
root-identifier  = "$"
]]></sourcecode></figure>

</section>
<section numbered="false" toc="exclude" anchor="semantics-1"><name>Semantics</name>

<t>The root identifier <spanx style="verb">$</spanx> represents the root node of the argument
and produces a nodelist consisting of that root node.</t>

</section>
<section numbered="false" toc="exclude" anchor="examples"><name>Examples</name>

<t>JSON:</t>

<figure><artwork><![CDATA[
{"k": "v"}
]]></artwork></figure>

<t>Queries:</t>

<texttable title="Root identifier examples">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Result</ttcol>
      <ttcol align='center'>Result Path</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$</spanx></c>
      <c><spanx style="verb">{"k": "v"}</spanx></c>
      <c><spanx style="verb">$</spanx></c>
      <c>Root node</c>
</texttable>

</section>
</section>
<section anchor="selectors-1"><name>Selectors</name>

<t>Selectors appear only inside <xref target="child-segment">child segments</xref> and
<xref target="descendant-segment">descendant segments</xref>.</t>

<t>A selector produces a nodelist consisting of zero or more children of the input value.</t>

<t>There are various kinds of selectors which produce children of objects, children of arrays,
or children of either objects or arrays.</t>

<figure><sourcecode type="abnf"><![CDATA[
selector =  ( name-selector  /
              index-selector /
              slice-selector /
              filter-selector
            )
]]></sourcecode></figure>

<t>The syntax and semantics of each kind of selector are defined below.</t>

<section anchor="name-selector"><name>Name Selector</name>

<section numbered="false" toc="exclude" anchor="syntax-name"><name>Syntax</name>

<t>A name selector <spanx style="verb">'&lt;name&gt;'</spanx> selects at most one object member value.</t>

<t>In contrast to JSON,
the JSONPath syntax allows strings to be enclosed in <em>single</em> or <em>double</em> quotes.</t>

<figure><sourcecode type="abnf"><![CDATA[
name-selector       = string-literal

string-literal      = %x22 *double-quoted %x22 /     ; "string"
                      %x27 *single-quoted %x27       ; 'string'

double-quoted       = unescaped /
                      %x27      /                    ; '
                      ESC %x22  /                    ; \"
                      ESC escapable

single-quoted       = unescaped /
                      %x22      /                    ; "
                      ESC %x27  /                    ; \'
                      ESC escapable

ESC                 = %x5C                           ; \  backslash

unescaped           = %x20-21 /                      ; s. RFC 8259
                      %x23-26 /                      ; omit "
                      %x28-5B /                      ; omit '
                      %x5D-10FFFF                    ; omit \

escapable           = ( %x62 / %x66 / %x6E / %x72 / %x74 /
                         ; \b \f \n \r \t
                         ; b / ;  BS backspace U+0008
                         ; t / ;  HT horizontal tab U+0009
                         ; n / ;  LF line feed U+000A
                         ; f / ;  FF form feed U+000C
                         ; r / ;  CR carriage return U+000D
                         "/" / ;  /  slash (solidus) U+002F
                         "\" / ; \ backslash (reverse solidus) U+005C
                         (%x75 hexchar) ;  uXXXX      U+XXXX
                      )

hexchar = non-surrogate / (high-surrogate "\" %x75 low-surrogate)
non-surrogate = ((DIGIT / "A"/"B"/"C" / "E"/"F") 3HEXDIG) /
                 ("D" %x30-37 2HEXDIG )
high-surrogate = "D" ("8"/"9"/"A"/"B") 2HEXDIG
low-surrogate = "D" ("C"/"D"/"E"/"F") 2HEXDIG

HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
]]></sourcecode></figure>

<t>Note: <spanx style="verb">double-quoted</spanx> strings follow the JSON string syntax (<xref section="7" sectionFormat="of" target="RFC8259"/>);
<spanx style="verb">single-quoted</spanx> strings follow an analogous pattern (<xref target="syntax-index"/>).</t>

</section>
<section numbered="false" toc="exclude" anchor="semantics-2"><name>Semantics</name>

<t>A <spanx style="verb">name-selector</spanx> string <bcp14>MUST</bcp14> be converted to a
member name M by removing the surrounding quotes and
replacing each escape sequence with its equivalent Unicode character, as
in the table below:</t>

<texttable title="Escape Sequence Replacements">
      <ttcol align='center'>Escape Sequence</ttcol>
      <ttcol align='center'>Unicode Character</ttcol>
      <ttcol align='left'>Description</ttcol>
      <c>\b</c>
      <c>U+0008</c>
      <c>BS backspace</c>
      <c>\t</c>
      <c>U+0009</c>
      <c>HT horizontal tab</c>
      <c>\n</c>
      <c>U+000A</c>
      <c>LF line feed</c>
      <c>\f</c>
      <c>U+000C</c>
      <c>FF form feed</c>
      <c>\r</c>
      <c>U+000D</c>
      <c>CR carriage return</c>
      <c>\"</c>
      <c>U+0022</c>
      <c>quotation mark</c>
      <c>\'</c>
      <c>U+0027</c>
      <c>apostrophe</c>
      <c>\/</c>
      <c>U+002F</c>
      <c>slash (solidus)</c>
      <c>\\</c>
      <c>U+005C</c>
      <c>backslash (reverse solidus)</c>
      <c>\uXXXX</c>
      <c>U+XXXX</c>
      <c>unicode character</c>
</texttable>

<t>Applying the <spanx style="verb">name-selector</spanx> to an object node
selects a member value whose name equals the member name M,
or selects nothing if there is no such member value.
Nothing is selected from a value that is not an object.</t>

<t>Note that processing the name selector requires comparing the member name string M
with member name strings in the JSON to which the selector is being applied.
Two strings <bcp14>MUST</bcp14> be considered equal if and only if they are identical
sequences of Unicode scalar values. In other words, normalization operations
<bcp14>MUST NOT</bcp14> be applied to either the member name string M from the JSONPath or to
the member name strings in the JSON prior to comparison.</t>

</section>
<section numbered="false" toc="exclude" anchor="examples-1"><name>Examples</name>

<!-- EDITING NOTE: There are non-breaking spaces here between j and j -->
<!-- i.e., j j and not j j -->

<t>JSON:</t>

<figure><artwork><![CDATA[
{
  "o": {"j j": {"k.k": 3}},
  "'": {"@": 2}
}
]]></artwork></figure>

<t>Queries:</t>

<texttable title="Name selector examples">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Result</ttcol>
      <ttcol align='center'>Result Paths</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$.o['j j']['k.k']</spanx></c>
      <c><spanx style="verb">3</spanx></c>
      <c><spanx style="verb">$['o']['j j']['k.k']</spanx></c>
      <c>Named value in nested object</c>
      <c><spanx style="verb">$.o["j j"]["k.k"]</spanx></c>
      <c><spanx style="verb">3</spanx></c>
      <c><spanx style="verb">$['o']['j j']['k.k']</spanx></c>
      <c>Named value in nested object</c>
      <c><spanx style="verb">$["'"]["@"]</spanx></c>
      <c><spanx style="verb">2</spanx></c>
      <c><spanx style="verb">$['\'']['@']</spanx></c>
      <c>Unusual member names</c>
</texttable>

</section>
</section>
<section anchor="wildcard"><name>Wildcard Selector</name>

<section numbered="false" toc="exclude" anchor="syntax-2"><name>Syntax</name>

<t>The wildcard selector consists of an asterisk.</t>

<figure><sourcecode type="abnf"><![CDATA[
wildcard = "*"
]]></sourcecode></figure>

</section>
<section numbered="false" toc="exclude" anchor="semantics-3"><name>Semantics</name>

<t>A <spanx style="verb">wildcard</spanx> selector selects the nodes of all children of an object or array.
The order in which the children of an object appear in the resultant nodelist is not stipulated,
since JSON objects are unordered.
Children of an array appear in array order in the resultant nodelist.</t>

<t>The <spanx style="verb">wildcard</spanx> selector selects nothing from a primitive JSON value (that is,
a number, a string, <spanx style="verb">true</spanx>, <spanx style="verb">false</spanx>, or <spanx style="verb">null</spanx>).</t>

</section>
<section numbered="false" toc="exclude" anchor="examples-2"><name>Examples</name>

<t>JSON:</t>

<figure><artwork><![CDATA[
{
  "o": {"j": 1, "k": 2},
  "a": [5, 3]
}
]]></artwork></figure>

<t>Queries:</t>

<t>The following examples show the <spanx style="verb">wildcard</spanx> selector in use by a child segment.</t>

<texttable title="Wildcard selector examples">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Result</ttcol>
      <ttcol align='center'>Result Paths</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$[*]</spanx></c>
      <c><spanx style="verb">{"j": 1, "k": 2}</spanx> <br /> <spanx style="verb">[5, 3]</spanx></c>
      <c><spanx style="verb">$['o']</spanx> <br /> <spanx style="verb">$['a']</spanx></c>
      <c>Object values</c>
      <c><spanx style="verb">$.o[*]</spanx></c>
      <c><spanx style="verb">1</spanx> <br /> <spanx style="verb">2</spanx></c>
      <c><spanx style="verb">$['o']['j']</spanx> <br /> <spanx style="verb">$['o']['k']</spanx></c>
      <c>Object values</c>
      <c><spanx style="verb">$.o[*]</spanx></c>
      <c><spanx style="verb">2</spanx> <br /> <spanx style="verb">1</spanx></c>
      <c><spanx style="verb">$['o']['k']</spanx> <br /> <spanx style="verb">$['o']['j']</spanx></c>
      <c>Alternative result</c>
      <c><spanx style="verb">$.o[*, *]</spanx></c>
      <c><spanx style="verb">1</spanx> <br /> <spanx style="verb">2</spanx> <br /> <spanx style="verb">2</spanx> <br /> <spanx style="verb">1</spanx></c>
      <c><spanx style="verb">$['o']['j']</spanx> <br /> <spanx style="verb">$['o']['k']</spanx> <br /> <spanx style="verb">$['o']['k']</spanx> <br /> <spanx style="verb">$['o']['j']</spanx></c>
      <c>Non-deterministic ordering</c>
      <c><spanx style="verb">$.a[*]</spanx></c>
      <c><spanx style="verb">5</spanx> <br /> <spanx style="verb">3</spanx></c>
      <c><spanx style="verb">$['a'][0]</spanx> <br /> <spanx style="verb">$['a'][1]</spanx></c>
      <c>Array members</c>
</texttable>

<t>The example above with the query <spanx style="verb">$.o[*, *]</spanx> shows that the wildcard selector may produce nodelists in distinct
orders each time it appears in the child segment, when it is applied to an object node with two or more
members (but not when it is applied to object nodes with less than two members or to array nodes).</t>

</section>
</section>
<section anchor="index-selector"><name>Index selector</name>

<section numbered="false" toc="exclude" anchor="syntax-index"><name>Syntax</name>

<t>An index selector <spanx style="verb">&lt;index&gt;</spanx> matches at most one array element value.</t>

<figure><sourcecode type="abnf"><![CDATA[
index-selector = int                             ; decimal integer

int            = "0" / (["-"] DIGIT1 *DIGIT)     ; -  optional
DIGIT1         = %x31-39                         ; 1-9 non-zero digit
]]></sourcecode></figure>

<t>Applying the numerical <spanx style="verb">index-selector</spanx> selects the corresponding
element. JSONPath allows it to be negative (see <xref target="index-semantics"/>).</t>

<t>Notes:
1. An <spanx style="verb">index-selector</spanx> is an integer (in base 10, as in JSON numbers).
2. As in JSON numbers, the syntax does not allow octal-like integers with leading zeros such as <spanx style="verb">01</spanx> or <spanx style="verb">-01</spanx>.</t>

</section>
<section numbered="false" toc="exclude" anchor="index-semantics"><name>Semantics</name>

<t>A non-negative <spanx style="verb">index-selector</spanx> applied to an array selects an array element using a zero-based index.
For example, the selector <spanx style="verb">0</spanx> selects the first and the selector <spanx style="verb">4</spanx> selects the fifth element of a sufficiently long array.
Nothing is selected, and it is not an error, if the index lies outside the range of the array. Nothing is selected from a value that is not an array.</t>

<t>A negative <spanx style="verb">index-selector</spanx> counts from the array end.
For example, the selector <spanx style="verb">-1</spanx> selects the last and the selector <spanx style="verb">-2</spanx> selects the penultimate element of an array with at least two elements.
As with non-negative indexes, it is not an error if such an element does
not exist; this simply means that no element is selected.</t>

</section>
<section numbered="false" toc="exclude" anchor="examples-3"><name>Examples</name>

<!-- EDITING NOTE: There are non-breaking spaces here between j and j -->
<!-- i.e., j j and not j j -->

<t>JSON:</t>

<figure><artwork><![CDATA[
["a","b"]
]]></artwork></figure>

<t>Queries:</t>

<t>The following examples show the index selector in use by a child segment.</t>

<texttable title="Index selector examples">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Result</ttcol>
      <ttcol align='center'>Result Paths</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$[1]</spanx></c>
      <c><spanx style="verb">"b"</spanx></c>
      <c><spanx style="verb">$[1]</spanx></c>
      <c>Element of array</c>
      <c><spanx style="verb">$[-2]</spanx></c>
      <c><spanx style="verb">"a"</spanx></c>
      <c><spanx style="verb">$[0]</spanx></c>
      <c>Element of array, from the end</c>
</texttable>

</section>
</section>
<section anchor="slice"><name>Array Slice selector</name>

<section numbered="false" toc="exclude" anchor="syntax-3"><name>Syntax</name>

<t>The array slice selector has the form <spanx style="verb">&lt;start&gt;:&lt;end&gt;:&lt;step&gt;</spanx>.
It matches elements from arrays starting at index <spanx style="verb">&lt;start&gt;</spanx>, ending at — but
not including — <spanx style="verb">&lt;end&gt;</spanx>, while incrementing by <spanx style="verb">step</spanx> with a default of <spanx style="verb">1</spanx>.</t>

<figure><sourcecode type="abnf"><![CDATA[
slice-selector =  [start S] ":" S [end S] [":" [S step ]]

start          = int       ; included in selection
end            = int       ; not included in selection
step           = int       ; default: 1

B              =    %x20 / ; Space
                    %x09 / ; Horizontal tab
                    %x0A / ; Line feed or New line
                    %x0D   ; Carriage return
S              = *B        ; optional blank space
RS             = 1*B       ; required blank space

]]></sourcecode></figure>

<t>The slice selector consists of three optional decimal integers separated by colons.</t>

</section>
<section numbered="false" toc="exclude" anchor="semantics-4"><name>Semantics</name>

<t>The slice selector was inspired by the slice operator of ECMAScript
4 (ES4), which was deprecated in 2014, and that of Python.</t>

<section numbered="false" toc="exclude" anchor="informal-introduction"><name>Informal Introduction</name>

<t>This section is informative.</t>

<t>Array slicing is inspired by the behavior of the <spanx style="verb">Array.prototype.slice</spanx> method
of the JavaScript language as defined by the ECMA-262 standard <xref target="ECMA-262"/>,
with the addition of the <spanx style="verb">step</spanx> parameter, which is inspired by the Python slice expression.</t>

<t>The array slice expression <spanx style="verb">start:end:step</spanx> selects elements at indices starting at <spanx style="verb">start</spanx>,
incrementing by <spanx style="verb">step</spanx>, and ending with <spanx style="verb">end</spanx> (which is itself excluded).
So, for example, the expression <spanx style="verb">1:3</spanx> (where <spanx style="verb">step</spanx> defaults to <spanx style="verb">1</spanx>)
selects elements with indices <spanx style="verb">1</spanx> and <spanx style="verb">2</spanx> (in that order) whereas
<spanx style="verb">1:5:2</spanx> selects elements with indices <spanx style="verb">1</spanx> and <spanx style="verb">3</spanx>.</t>

<t>When <spanx style="verb">step</spanx> is negative, elements are selected in reverse order. Thus,
for example, <spanx style="verb">5:1:-2</spanx> selects elements with indices <spanx style="verb">5</spanx> and <spanx style="verb">3</spanx>, in
that order and <spanx style="verb">::-1</spanx> selects all the elements of an array in
reverse order.</t>

<t>When <spanx style="verb">step</spanx> is <spanx style="verb">0</spanx>, no elements are selected.
(This is the one case that differs from the behavior of Python, which
raises an error in this case.)</t>

<t>The following section specifies the behavior fully, without depending on
JavaScript or Python behavior.</t>

</section>
<section numbered="false" toc="exclude" anchor="detailed-semantics"><name>Detailed Semantics</name>

<t>A slice expression selects a subset of the elements of the input array, in
the same order
as the array or the reverse order, depending on the sign of the <spanx style="verb">step</spanx> parameter.
It selects no nodes from a node that is not an array.</t>

<t>A slice is defined by the two slice parameters, <spanx style="verb">start</spanx> and <spanx style="verb">end</spanx>, and
an iteration delta, <spanx style="verb">step</spanx>.
Each of these parameters is
optional. <spanx style="verb">len</spanx> is the length of the input array.</t>

<t>The default value for <spanx style="verb">step</spanx> is <spanx style="verb">1</spanx>.
The default values for <spanx style="verb">start</spanx> and <spanx style="verb">end</spanx> depend on the sign of <spanx style="verb">step</spanx>,
as follows:</t>

<texttable title="Default array slice start and end values">
      <ttcol align='left'>Condition</ttcol>
      <ttcol align='left'>start</ttcol>
      <ttcol align='left'>end</ttcol>
      <c>step &gt;= 0</c>
      <c>0</c>
      <c>len</c>
      <c>step &lt; 0</c>
      <c>len - 1</c>
      <c>-len - 1</c>
</texttable>

<t>Slice expression parameters <spanx style="verb">start</spanx> and <spanx style="verb">end</spanx> are not directly usable
as slice bounds and must first be normalized.
Normalization for this purpose is defined as:</t>

<figure><artwork><![CDATA[
FUNCTION Normalize(i, len):
  IF i >= 0 THEN
    RETURN i
  ELSE
    RETURN len + i
  END IF
]]></artwork></figure>

<t>The result of the array index expression <spanx style="verb">i</spanx> applied to an array
of length <spanx style="verb">len</spanx> is defined to be the result of the array
slicing expression <spanx style="verb">Normalize(i, len):Normalize(i, len)+1:1</spanx>.</t>

<t>Slice expression parameters <spanx style="verb">start</spanx> and <spanx style="verb">end</spanx> are used to derive slice bounds <spanx style="verb">lower</spanx> and <spanx style="verb">upper</spanx>.
The direction of the iteration, defined
by the sign of <spanx style="verb">step</spanx>, determines which of the parameters is the lower bound and which
is the upper bound:</t>

<figure><artwork><![CDATA[
FUNCTION Bounds(start, end, step, len):
  n_start = Normalize(start, len)
  n_end = Normalize(end, len)

  IF step >= 0 THEN
    lower = MIN(MAX(n_start, 0), len)
    upper = MIN(MAX(n_end, 0), len)
  ELSE
    upper = MIN(MAX(n_start, -1), len-1)
    lower = MIN(MAX(n_end, -1), len-1)
  END IF

  RETURN (lower, upper)
]]></artwork></figure>

<t>The slice expression selects elements with indices between the lower and
upper bounds.
In the following pseudocode, <spanx style="verb">a(i)</spanx> is the <spanx style="verb">i+1</spanx>th element of the array <spanx style="verb">a</spanx>
(i.e., <spanx style="verb">a(0)</spanx> is the first element, <spanx style="verb">a(1)</spanx> the second, and so forth).</t>

<figure><artwork><![CDATA[
IF step > 0 THEN

  i = lower
  WHILE i < upper:
    SELECT a(i)
    i = i + step
  END WHILE

ELSE if step < 0 THEN

  i = upper
  WHILE lower < i:
    SELECT a(i)
    i = i + step
  END WHILE

END IF
]]></artwork></figure>

<t>When <spanx style="verb">step = 0</spanx>, no elements are selected and the result array is empty.</t>

<t>To be valid, the slice expression parameters <bcp14>MUST</bcp14> be in the I-JSON
range of exact values, see <xref target="synsem-overview"/>.</t>

</section>
</section>
<section numbered="false" toc="exclude" anchor="examples-4"><name>Examples</name>

<t>JSON:</t>

<figure><artwork><![CDATA[
["a", "b", "c", "d", "e", "f", "g"]
]]></artwork></figure>

<t>Queries:</t>

<texttable title="Array slice selector examples">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Result</ttcol>
      <ttcol align='center'>Result Paths</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$[1:3]</spanx></c>
      <c><spanx style="verb">"b"</spanx> <br /> <spanx style="verb">"c"</spanx></c>
      <c><spanx style="verb">$[1]</spanx> <br /> <spanx style="verb">$[2]</spanx></c>
      <c>Slice with default step</c>
      <c><spanx style="verb">$[1:5:2]</spanx></c>
      <c><spanx style="verb">"b"</spanx> <br /> <spanx style="verb">"d"</spanx></c>
      <c><spanx style="verb">$[1]</spanx> <br /> <spanx style="verb">$[3]</spanx></c>
      <c>Slice with step 2</c>
      <c><spanx style="verb">$[5:1:-2]</spanx></c>
      <c><spanx style="verb">"f"</spanx> <br /> <spanx style="verb">"d"</spanx></c>
      <c><spanx style="verb">$[5]</spanx> <br /> <spanx style="verb">$[3]</spanx></c>
      <c>Slice with negative step</c>
      <c><spanx style="verb">$[::-1]</spanx></c>
      <c><spanx style="verb">"g"</spanx> <br /> <spanx style="verb">"f"</spanx> <br /> <spanx style="verb">"e"</spanx> <br /> <spanx style="verb">"d"</spanx> <br /> <spanx style="verb">"c"</spanx> <br /> <spanx style="verb">"b"</spanx> <br /> <spanx style="verb">"a"</spanx></c>
      <c><spanx style="verb">$[6]</spanx> <br /> <spanx style="verb">$[5]</spanx> <br /> <spanx style="verb">$[4]</spanx> <br /> <spanx style="verb">$[3]</spanx> <br /> <spanx style="verb">$[2]</spanx> <br /> <spanx style="verb">$[1]</spanx> <br /> <spanx style="verb">$[0]</spanx></c>
      <c>Slice in reverse order</c>
</texttable>

</section>
</section>
<section anchor="filter-selector"><name>Filter selector</name>

<section numbered="false" toc="exclude" anchor="syntax-4"><name>Syntax</name>

<t>The filter selector has the form <spanx style="verb">?&lt;expr&gt;</spanx>. It iterates over structured values, i.e., arrays and objects.</t>

<figure><sourcecode type="abnf"><![CDATA[
filter-selector = "?" S boolean-expr
]]></sourcecode></figure>

<t>During the iteration process the node of each array element or object member value being visited is known as the current node.
A boolean expression, usually involving the current node, is evaluated and
the current node is selected if and only if the expression yields true.</t>

<t>The current node is accessible via the current node identifier <spanx style="verb">@</spanx>.</t>

<t>An existence expression may test the result of a function expression (see <xref target="fnex"/>).</t>

<figure><sourcecode type="abnf"><![CDATA[
boolean-expr      = logical-or-expr
logical-or-expr   = logical-and-expr *(S "||" S logical-and-expr)
                      ; disjunction
                      ; binds less tightly than conjunction
logical-and-expr  = basic-expr *(S "&&" S basic-expr)
                      ; conjunction
                      ; binds more tightly than disjunction

basic-expr        = paren-expr /
                    relation-expr
                    exist-expr
exist-expr        = [logical-not-op S] filter-path
                       ; path existence or non-existence
filter-path       = rel-path / json-path / function-expression
rel-path          = current-node-identifier segments
current-node-identifier = "@"
]]></sourcecode></figure>

<t>Parentheses <bcp14>MAY</bcp14> be used within <spanx style="verb">boolean-expr</spanx> for grouping.</t>

<figure><sourcecode type="abnf"><![CDATA[
paren-expr        = [logical-not-op S] "(" S boolean-expr S ")"
                                      ; parenthesized expression
logical-not-op    = "!"               ; logical NOT operator

relation-expr     = comp-expr         ; comparison test
]]></sourcecode></figure>

<t>Comparisons are restricted to primitive values (that is, numbers, strings, <spanx style="verb">true</spanx>, <spanx style="verb">false</spanx>,
and <spanx style="verb">null</spanx>).
These can be notated as literal values, or they can be derived from
Singular Paths, each of which selects at most one node.
Function expressions (see <xref target="fnex"/>) used in comparison expressions
return a primitive value or at most one node.</t>

<figure><sourcecode type="abnf"><![CDATA[
comp-expr    = comparable S comp-op S comparable
comparable   = number / string-literal /        ; primitive ...
               true / false / null /            ; values only
               singular-path /                  ; Singular Path value
               function-expression
comp-op      = "==" / "!=" /                    ; comparison ...
               "<"  / ">"  /                    ; operators
               "<=" / ">="

singular-path     = rel-singular-path / abs-singular-path /
                    function-expression
rel-singular-path = current-node-identifier singular-path-segments
abs-singular-path = root-identifier singular-path-segments
singular-path-segments = *(S (name-segment / index-segment))
name-segment      = "[" name-selector "]" / dot-member-name-shorthand
index-segment     = "[" index-selector "]"
]]></sourcecode></figure>

<t>Alphabetic characters in ABNF are case-insensitive, so "e" can be either "e" or "E".</t>

<t><spanx style="verb">true</spanx>, <spanx style="verb">false</spanx>, and <spanx style="verb">null</spanx> are lower-case only (case-sensitive).</t>

<figure><sourcecode type="abnf"><![CDATA[
number       = (int / "-0") [ frac ] [ exp ]       ; decimal number
frac         = "." 1*DIGIT                         ; decimal fraction
exp          = "e" [ "-" / "+" ] 1*DIGIT           ; decimal exponent
true         = %x74.72.75.65                       ; true
false        = %x66.61.6c.73.65                    ; false
null         = %x6e.75.6c.6c                       ; null
]]></sourcecode></figure>

<t>The following table lists filter expression operators in order of precedence from highest (binds most tightly) to lowest (binds least tightly).</t>

<!-- FIXME: Should the syntax column be split between unary and binary operators? -->

<texttable title="Filter expression operator precedence">
      <ttcol align='center'>Precedence</ttcol>
      <ttcol align='center'>Operator type</ttcol>
      <ttcol align='center'>Syntax</ttcol>
      <c>5</c>
      <c>Grouping</c>
      <c><spanx style="verb">(...)</spanx></c>
      <c>4</c>
      <c>Logical NOT</c>
      <c><spanx style="verb">!</spanx></c>
      <c>3</c>
      <c>Relations</c>
      <c><spanx style="verb">==</spanx> <spanx style="verb">!=</spanx><br /><spanx style="verb">&lt;</spanx> <spanx style="verb">&lt;=</spanx> <spanx style="verb">&gt;</spanx> <spanx style="verb">&gt;=</spanx></c>
      <c>2</c>
      <c>Logical AND</c>
      <c><spanx style="verb">&amp;&amp;</spanx></c>
      <c>1</c>
      <c>Logical OR</c>
      <c><spanx style="verb">¦¦</spanx></c>
</texttable>

</section>
<section numbered="false" toc="exclude" anchor="semantics-5"><name>Semantics</name>

<t>The filter selector works with arrays and objects exclusively. Its result is a list of <em>zero</em>, <em>one</em>, <em>multiple</em> or <em>all</em> of their array elements or member values, respectively.
Applied to primitive values, it will select nothing.</t>

<t>The order in which the children of an object appear in the resultant nodelist is not stipulated,
since JSON objects are unordered.
Children of an array appear in array order in the resultant nodelist.</t>

<section numbered="false" toc="exclude" anchor="existence-tests"><name>Existence Tests</name>

<t>A path by itself in a Boolean context is an existence test which yields true if the path selects at least one node and yields false if the path does not select any nodes.</t>

<t>Existence tests differ from comparisons in that:</t>

<t><list style="symbols">
  <t>they work with arbitrary relative or absolute paths (not just Singular Paths).</t>
  <t>they work with paths that select structured values.</t>
</list></t>

<t>To test the value of a node selected by a path, an explicit comparison is necessary.
For example, to test whether the node selected by the path <spanx style="verb">@.foo</spanx> has the value <spanx style="verb">null</spanx>, use <spanx style="verb">@.foo == null</spanx> (see <xref target="null-semantics"/>)
rather than the negated existence test <spanx style="verb">!@.foo</spanx> (which yields false if <spanx style="verb">@.foo</spanx> selects a node, regardless of the node's value).</t>

</section>
<section numbered="false" toc="exclude" anchor="comparisons"><name>Comparisons</name>

<t>The comparison operators <spanx style="verb">==</spanx> and <spanx style="verb">&lt;</spanx> are defined first and then these are used to define <spanx style="verb">!=</spanx>, <spanx style="verb">&lt;=</spanx>, <spanx style="verb">&gt;</spanx>, and <spanx style="verb">&gt;=</spanx>.</t>

<t>When a path resulting in an empty nodelist appears on either side of a comparison:</t>

<t><list style="symbols">
  <t>a comparison using the operator <spanx style="verb">==</spanx> yields true if and only if the comparison
is between two paths each of which result in an empty nodelist.</t>
  <t>a comparison using the operator <spanx style="verb">&lt;</spanx> yields false.</t>
</list></t>

<t>When any path on either side of a comparison results in a nodelist consisting of a single node, each such path is
replaced by the value of its node and then:</t>

<t><list style="symbols">
  <t>a comparison using the operator <spanx style="verb">==</spanx> yields true if and only if the comparison
is between:
  <list style="symbols">
      <t>equal primitive values,</t>
      <t>equal arrays, that is arrays of the same length where each element of the first array is equal to the corresponding
element of the second array, or</t>
      <t>equal objects with no duplicate names, that is where:
      <list style="symbols">
          <t>both objects have the same collection of names (with no duplicates), and</t>
          <t>for each of those names, the values associated with the name by the objects are equal.</t>
        </list></t>
    </list></t>
  <t>a comparison using the operator <spanx style="verb">&lt;</spanx> yields true if and only if
the comparison is between values which are both numbers or both strings and which satisfy the comparison:  <list style="symbols">
      <t>numbers expected to interoperate as per <xref section="2.2" sectionFormat="of" target="RFC7493">I-JSON</xref> <bcp14>MUST</bcp14> compare using the normal mathematical ordering;
numbers not expected to interoperate as per I-JSON <bcp14>MAY</bcp14> compare using an implementation specific ordering</t>
      <t>the empty string compares less than any non-empty string</t>
      <t>a non-empty string compares less than another non-empty string if and only if the first string starts with a
lower Unicode scalar value than the second string or if both strings start with the same Unicode scalar value and
the remainder of the first string compares less than the remainder of the second string.</t>
    </list></t>
</list></t>

<t>Note that comparisons using the operator <spanx style="verb">&lt;</spanx> yield false if either value being
compared is an object, array, boolean, or <spanx style="verb">null</spanx>.</t>

<t><spanx style="verb">!=</spanx>, <spanx style="verb">&lt;=</spanx>, <spanx style="verb">&gt;</spanx>, and <spanx style="verb">&gt;=</spanx> are defined in terms of the other comparison operators. For any <spanx style="verb">a</spanx> and <spanx style="verb">b</spanx>:</t>

<t><list style="symbols">
  <t>The comparison <spanx style="verb">a != b</spanx> yields true if and only if <spanx style="verb">a == b</spanx> yields false.</t>
  <t>The comparison <spanx style="verb">a &lt;= b</spanx> yields true if and only if <spanx style="verb">a &lt; b</spanx> yields true or <spanx style="verb">a == b</spanx> yields true.</t>
  <t>The comparison <spanx style="verb">a &gt; b</spanx> yields true if and only if <spanx style="verb">b &lt; a</spanx> yields true.</t>
  <t>The comparison <spanx style="verb">a &gt;= b</spanx> yields true if and only if <spanx style="verb">b &lt; a</spanx> yields true or <spanx style="verb">a == b</spanx> yields true.</t>
</list></t>

</section>
<section numbered="false" toc="exclude" anchor="boolean-operators"><name>Boolean Operators</name>

<t>The logical AND, OR, and NOT operators have the normal semantics of Boolean algebra and
obey its laws (see, for example, <xref target="BOOLEAN-LAWS"/>).</t>

</section>
<section numbered="false" toc="exclude" anchor="function-extensions"><name>Function Extensions</name>

<t>Filter selectors may use function extensions, which are covered in <xref target="fnex"/>.</t>

</section>
</section>
<section numbered="false" toc="exclude" anchor="examples-5"><name>Examples</name>

<t>The first set of examples shows some comparison expressions and their
result with a given JSON value as input.</t>

<t>JSON:</t>

<figure><artwork><![CDATA[
{
  "obj": {"x": "y"},
  "arr": [2, 3]
}
]]></artwork></figure>

<texttable title="Comparison examples">
      <ttcol align='center'>Comparison</ttcol>
      <ttcol align='center'>Result</ttcol>
      <ttcol align='center'>Comment</ttcol>
      <c><spanx style="verb">$.absent1 == $.absent2</spanx></c>
      <c>true</c>
      <c>Empty nodelists</c>
      <c><spanx style="verb">$.absent1 &lt;= $.absent2</spanx></c>
      <c>true</c>
      <c><spanx style="verb">==</spanx> implies <spanx style="verb">&lt;=</spanx></c>
      <c><spanx style="verb">$.absent == 'g'</spanx></c>
      <c>false</c>
      <c>Empty nodelist</c>
      <c><spanx style="verb">$.absent1 != $.absent2</spanx></c>
      <c>false</c>
      <c>Empty nodelists</c>
      <c><spanx style="verb">$.absent != 'g'</spanx></c>
      <c>true</c>
      <c>Empty nodelist</c>
      <c><spanx style="verb">1 &lt;= 2</spanx></c>
      <c>true</c>
      <c>Numeric comparison</c>
      <c><spanx style="verb">1 &gt; 2</spanx></c>
      <c>false</c>
      <c>Strict, numeric comparison</c>
      <c><spanx style="verb">13 == '13'</spanx></c>
      <c>false</c>
      <c>Type mismatch</c>
      <c><spanx style="verb">'a' &lt;= 'b'</spanx></c>
      <c>true</c>
      <c>String comparison</c>
      <c><spanx style="verb">'a' &gt; 'b'</spanx></c>
      <c>false</c>
      <c>Strict, string comparison</c>
      <c><spanx style="verb">$.obj == $.arr</spanx></c>
      <c>false</c>
      <c>Type mismatch</c>
      <c><spanx style="verb">$.obj != $.arr</spanx></c>
      <c>true</c>
      <c>Type mismatch</c>
      <c><spanx style="verb">$.obj == $.obj</spanx></c>
      <c>true</c>
      <c>Object comparison</c>
      <c><spanx style="verb">$.obj != $.obj</spanx></c>
      <c>false</c>
      <c>Object comparison</c>
      <c><spanx style="verb">$.arr == $.arr</spanx></c>
      <c>true</c>
      <c>Array comparison</c>
      <c><spanx style="verb">$.arr != $.arr</spanx></c>
      <c>false</c>
      <c>Array comparison</c>
      <c><spanx style="verb">$.obj == 17</spanx></c>
      <c>false</c>
      <c>Type mismatch</c>
      <c><spanx style="verb">$.obj != 17</spanx></c>
      <c>true</c>
      <c>Type mismatch</c>
      <c><spanx style="verb">$.obj &lt;= $.arr</spanx></c>
      <c>false</c>
      <c>Objects and arrays are not ordered</c>
      <c><spanx style="verb">$.obj &lt; $.arr</spanx></c>
      <c>false</c>
      <c>Objects and arrays are not ordered</c>
      <c><spanx style="verb">$.obj &lt;= $.obj</spanx></c>
      <c>true</c>
      <c><spanx style="verb">==</spanx> implies <spanx style="verb">&lt;=</spanx></c>
      <c><spanx style="verb">$.arr &lt;= $.arr</spanx></c>
      <c>true</c>
      <c><spanx style="verb">==</spanx> implies <spanx style="verb">&lt;=</spanx></c>
      <c><spanx style="verb">1 &lt;= $.arr</spanx></c>
      <c>false</c>
      <c>Arrays are not ordered</c>
      <c><spanx style="verb">1 &gt;= $.arr</spanx></c>
      <c>false</c>
      <c>Arrays are not ordered</c>
      <c><spanx style="verb">1 &gt; $.arr</spanx></c>
      <c>false</c>
      <c>Arrays are not ordered</c>
      <c><spanx style="verb">1 &lt; $.arr</spanx></c>
      <c>false</c>
      <c>Arrays are not ordered</c>
      <c><spanx style="verb">true &lt;= true</spanx></c>
      <c>true</c>
      <c><spanx style="verb">==</spanx> implies <spanx style="verb">&lt;=</spanx></c>
      <c><spanx style="verb">true &gt; true</spanx></c>
      <c>false</c>
      <c>Booleans are not ordered</c>
</texttable>

<t>The second set of examples shows some complete JSONPath queries that make use
of filter selectors, and the results of evaluating these queries on a
given JSON value as input.
(Note that two of the queries employ function extensions; please see
Sections <xref format="counter" target="match"/> and <xref format="counter" target="search"/> below for details about these.)</t>

<t>JSON:</t>

<figure><artwork><![CDATA[
{
  "a": [3, 5, 1, 2, 4, 6, {"b": "j"}, {"b": "k"},
       {"b": {}}, {"b": "kilo"}],
  "o": {"p": 1, "q": 2, "r": 3, "s": 5, "t": {"u": 6}},
  "e": "f"
}
]]></artwork></figure>

<texttable title="Filter selector examples">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Result</ttcol>
      <ttcol align='center'>Result Paths</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$.a[@.b == 'kilo']</spanx></c>
      <c><spanx style="verb">{"b": "kilo"}</spanx></c>
      <c><spanx style="verb">$['a'][9]</spanx></c>
      <c>Member value comparison</c>
      <c><spanx style="verb">$.a[?@&gt;3.5]</spanx></c>
      <c><spanx style="verb">5</spanx> <br /> <spanx style="verb">4</spanx> <br /> <spanx style="verb">6</spanx></c>
      <c><spanx style="verb">$['a'][1]</spanx> <br /> <spanx style="verb">$['a'][4]</spanx> <br /> <spanx style="verb">$['a'][5]</spanx></c>
      <c>Array value comparison</c>
      <c><spanx style="verb">$.a[?@.b]</spanx></c>
      <c><spanx style="verb">{"b": "j"}</spanx> <br /> <spanx style="verb">{"b": "k"}</spanx> <br /> <spanx style="verb">{"b": {}}</spanx> <br /> <spanx style="verb">{"b": "kilo"}</spanx></c>
      <c><spanx style="verb">$['a'][6]</spanx> <br /> <spanx style="verb">$['a'][7]</spanx> <br /> <spanx style="verb">$['a'][8]</spanx> <br /> <spanx style="verb">$['a'][9]</spanx></c>
      <c>Array value existence</c>
      <c><spanx style="verb">$[?@.*]</spanx></c>
      <c><spanx style="verb">[3, 5, 1, 2, 4, 6, {"b": "j"}, {"b": "k"}, {"b": {}}, {"b": "kilo"}]</spanx> <br /> <spanx style="verb">{"p": 1, "q": 2, "r": 3, "s": 5, "t": {"u": 6}}</spanx></c>
      <c><spanx style="verb">$['a']</spanx> <br /> <spanx style="verb">$['o']</spanx></c>
      <c>Existence of non-singular paths</c>
      <c><spanx style="verb">$[?@[?@.b]]</spanx></c>
      <c><spanx style="verb">[3, 5, 1, 2, 4, 6, {"b": "j"}, {"b": "k"}, {"b": {}}, {"b": "kilo"}]</spanx></c>
      <c><spanx style="verb">$['a']</spanx></c>
      <c>Nested filters</c>
      <c><spanx style="verb">$.o[?@&lt;3, ?@&lt;3]</spanx></c>
      <c><spanx style="verb">1</spanx> <br /> <spanx style="verb">2</spanx> <br /> <spanx style="verb">2</spanx> <br /> <spanx style="verb">1</spanx></c>
      <c><spanx style="verb">$['o']['p']</spanx> <br /> <spanx style="verb">$['o']['q']</spanx> <br /> <spanx style="verb">$['o']['q']</spanx> <br /> <spanx style="verb">$['o']['p']</spanx></c>
      <c>Non-deterministic ordering</c>
      <c><spanx style="verb">$.a[?@&lt;2 || @.b == "k"]</spanx></c>
      <c><spanx style="verb">1</spanx> <br /> <spanx style="verb">{"b": "k"}</spanx></c>
      <c><spanx style="verb">$['a'][2]</spanx> <br /> <spanx style="verb">$['a'][7]</spanx></c>
      <c>Array value logical OR</c>
      <c><spanx style="verb">$.a[?match(@.b, "[jk]")]</spanx></c>
      <c><spanx style="verb">{"b": "j"}</spanx> <br /> <spanx style="verb">{"b": "k"}</spanx></c>
      <c><spanx style="verb">$['a'][6]</spanx> <br /> <spanx style="verb">$['a'][7]</spanx></c>
      <c>Array value regular expression match</c>
      <c><spanx style="verb">$.a[?search(@.b, "[jk]")]</spanx></c>
      <c><spanx style="verb">{"b": "j"}</spanx> <br /> <spanx style="verb">{"b": "k"}</spanx> <br /> <spanx style="verb">{"b": "kilo"}</spanx></c>
      <c><spanx style="verb">$['a'][6]</spanx> <br /> <spanx style="verb">$['a'][7]</spanx> <br /> <spanx style="verb">$['a'][9]</spanx></c>
      <c>Array value regular expression search</c>
      <c><spanx style="verb">$.o[?@&gt;1 &amp;&amp; @&lt;4]</spanx></c>
      <c><spanx style="verb">2</spanx> <br /> <spanx style="verb">3</spanx></c>
      <c><spanx style="verb">$['o']['q']</spanx> <br /> <spanx style="verb">$['o']['r']</spanx></c>
      <c>Object value logical AND</c>
      <c><spanx style="verb">$.o[?@&gt;1 &amp;&amp; @&lt;4]</spanx></c>
      <c><spanx style="verb">3</spanx> <br /> <spanx style="verb">2</spanx></c>
      <c><spanx style="verb">$['o']['r']</spanx> <br /> <spanx style="verb">$['o']['q']</spanx></c>
      <c>Alternative result</c>
      <c><spanx style="verb">$.o[?@.u || @.x]</spanx></c>
      <c><spanx style="verb">{"u": 6}</spanx></c>
      <c><spanx style="verb">$['o']['t']</spanx></c>
      <c>Object value logical OR</c>
      <c><spanx style="verb">$.a[?(@.b == $.x)]</spanx></c>
      <c><spanx style="verb">3</spanx> <br /> <spanx style="verb">5</spanx> <br /> <spanx style="verb">1</spanx> <br /> <spanx style="verb">2</spanx> <br /> <spanx style="verb">4</spanx> <br /> <spanx style="verb">6</spanx></c>
      <c><spanx style="verb">$['a'][0]</spanx> <br /><spanx style="verb">$['a'][1]</spanx> <br /> <spanx style="verb">$['a'][2]</spanx> <br /> <spanx style="verb">$['a'][3]</spanx> <br /> <spanx style="verb">$['a'][4]</spanx></c>
      <c>Comparison of paths with no values</c>
      <c><spanx style="verb">$[?(@ == @)]</spanx></c>
      <c>&#160;</c>
      <c>&#160;</c>
      <c>Comparison of structured values</c>
</texttable>

<t>The example above with the query <spanx style="verb">$.o[?@&lt;3, ?@&lt;3]</spanx> shows that the filter selector may produce nodelists in distinct
orders each time it appears in the child segment.</t>

</section>
</section>
</section>
<section anchor="fnex"><name>Function Extensions</name>

<t>Beyond the filter expression functionality defined in the preceding
subsections, JSONPath defines an extension point that can be used to
add filter expression functionality: "Function Extensions".</t>

<t>A function extension defines a registered name (see <xref target="iana-fnex"/>) that
can be applied to a sequence of zero or more arguments, producing a
result.</t>

<figure><sourcecode type="abnf"><![CDATA[
function-name           = function-name-first *function-name-char
function-name-first     = LCALPHA
function-name-char      = DIGIT / function-name-first / "_"
LCALPHA                 = %x61-7A  ; "a".."z"

function-expression     = function-name "(" S [function-argument
                             *(S "," S function-argument)] S ")"
function-argument       = filter-path / comparable
]]></sourcecode></figure>

<t>A function argument is a <spanx style="verb">filter-path</spanx> or a <spanx style="verb">comparable</spanx>.</t>

<t>According to <xref target="filter-selector"/>, a <spanx style="verb">function-expression</spanx> is valid as a <spanx style="verb">filter-path</spanx>
or a <spanx style="verb">comparable</spanx>.</t>

<t>Any function expressions in a query must be well-formed (by conforming to the above ABNF)
and correctly typed,
otherwise the JSONPath implementation <bcp14>MUST</bcp14> raise an error
(see <xref target="synsem-overview"/>).
To define which function expressions are correctly typed,
a type system is first introduced.</t>

<section anchor="type-system-for-function-expressions"><name>Type System for Function Expressions</name>

<t>Each argument and result of a function extension must have a declared type.</t>

<t>A type is a set of instances. A type is a subtype of another type if its set of instances (possibly after coercion)
is a subset of the set of instances of the other type.</t>

<t><xref target="tbl-types"/> defines the available types in terms of abstract instances, where <spanx style="verb">n</spanx> denotes a node, <spanx style="verb">v</spanx> denotes a value, and <spanx style="verb">nl</spanx> denotes
a non-empty nodelist. The table also lists the subtypes of each type.</t>

<texttable title="Function extension type system" anchor="tbl-types">
      <ttcol align='center'>Type</ttcol>
      <ttcol align='center'>Abstract Instances</ttcol>
      <ttcol align='center'>Subtypes</ttcol>
      <c><spanx style="verb">OptionalNodeOrValue</spanx></c>
      <c><spanx style="verb">Node(n)</spanx>, <spanx style="verb">Value(v)</spanx>, <spanx style="verb">Nothing</spanx></c>
      <c><spanx style="verb">OptionalNode</spanx>, <spanx style="verb">OptionalValue</spanx>, <spanx style="verb">Value</spanx>, <spanx style="verb">Absent</spanx></c>
      <c><spanx style="verb">OptionalNode</spanx></c>
      <c><spanx style="verb">Node(n)</spanx>, <spanx style="verb">Nothing</spanx></c>
      <c><spanx style="verb">Absent</spanx></c>
      <c><spanx style="verb">OptionalValue</spanx></c>
      <c><spanx style="verb">Value(v)</spanx>, <spanx style="verb">Nothing</spanx></c>
      <c><spanx style="verb">Value</spanx>, <spanx style="verb">OptionalBoolean</spanx>, <spanx style="verb">Absent</spanx></c>
      <c><spanx style="verb">Value</spanx></c>
      <c><spanx style="verb">Value(v)</spanx></c>
      <c><spanx style="verb">Boolean</spanx></c>
      <c><spanx style="verb">OptionalBoolean</spanx></c>
      <c><spanx style="verb">Value(true)</spanx>, <spanx style="verb">Value(false)</spanx>, <spanx style="verb">Nothing</spanx></c>
      <c><spanx style="verb">Boolean</spanx>, <spanx style="verb">Absent</spanx></c>
      <c><spanx style="verb">Boolean</spanx></c>
      <c><spanx style="verb">Value(true)</spanx>, <spanx style="verb">Value(false)</spanx></c>
      <c>&#160;</c>
      <c><spanx style="verb">Absent</spanx></c>
      <c><spanx style="verb">Nothing</spanx></c>
      <c>&#160;</c>
      <c><spanx style="verb">OptionalNodes</spanx></c>
      <c><spanx style="verb">Nodes(nl)</spanx>, <spanx style="verb">Nothing</spanx></c>
      <c><spanx style="verb">OptionalNode</spanx>, <spanx style="verb">Absent</spanx></c>
</texttable>

<t>Notes:</t>

<t><list style="symbols">
  <t><spanx style="verb">OptionalNodeOrValue</spanx> is an abstraction of a <spanx style="verb">comparable</spanx> (which may appear on either side of a comparison or as a function argument).</t>
  <t><spanx style="verb">OptionalNode</spanx> is an abstraction of a Singular Path.</t>
  <t><spanx style="verb">Value</spanx> is an abstraction of a primitive value.</t>
  <t><spanx style="verb">Boolean</spanx> is an abstraction of a primitive value that is either
<spanx style="verb">true</spanx> or <spanx style="verb">false</spanx>.</t>
  <t><spanx style="verb">OptionalValue</spanx> is an abstraction of a primitive value that may also
be absent.</t>
  <t><spanx style="verb">Absent</spanx> is an abstraction of an empty nodelist.</t>
  <t><spanx style="verb">OptionalNodes</spanx> is an abstraction of a <spanx style="verb">filter-path</spanx> (which appears in an existence test or as a function argument).</t>
</list></t>

<t>The abstract instances above can be obtained from the concrete representations in <xref target="tbl-typerep"/>.</t>

<texttable title="Concrete representations of abstract instances" anchor="tbl-typerep">
      <ttcol align='center'>Abstract Instance</ttcol>
      <ttcol align='center'>Concrete Representations</ttcol>
      <c><spanx style="verb">Node(n)</spanx></c>
      <c>Singular Path resulting in a nodelist containing just the node <spanx style="verb">n</spanx></c>
      <c><spanx style="verb">Value(v)</spanx></c>
      <c>JSON value <spanx style="verb">v</spanx></c>
      <c><spanx style="verb">Nothing</spanx></c>
      <c>Singular Path or <spanx style="verb">filter-path</spanx> resulting in an empty nodelist</c>
      <c><spanx style="verb">Nodes(nl)</spanx></c>
      <c><spanx style="verb">filter-path</spanx> resulting in the non-empty nodelist <spanx style="verb">nl</spanx></c>
</texttable>

<t>The following subtype relationships depend on coercion:</t>

<t><list style="symbols">
  <t><spanx style="verb">OptionalNode</spanx> is a subtype of <spanx style="verb">OptionalValue</spanx> via coercion since the <spanx style="verb">OptionalNode</spanx> instance <spanx style="verb">Node(n)</spanx> can be coerced to
the <spanx style="verb">OptionalValue</spanx> instance <spanx style="verb">Value(v)</spanx>, where <spanx style="verb">v</spanx> is the value of the node <spanx style="verb">n</spanx>.</t>
  <t><spanx style="verb">OptionalNode</spanx> is a subtype of <spanx style="verb">OptionalNodes</spanx> via coercion since the <spanx style="verb">OptionalNode</spanx> instance <spanx style="verb">Node(n)</spanx> can be coerced to
the <spanx style="verb">OptionalNodes</spanx> instance <spanx style="verb">Nodes(l)</spanx>, where <spanx style="verb">l</spanx> is a nodelist consisting of just the node <spanx style="verb">n</spanx>.</t>
</list></t>

<t>The type correctness of function expressions can now be defined in terms of this type system.</t>

</section>
<section anchor="type-correctness-of-function-expressions"><name>Type Correctness of Function Expressions</name>

<t>A function expression is correctly typed if all the following are true:</t>

<t><list style="symbols">
  <t>If it occurs as a <spanx style="verb">filter-path</spanx> in an existence test, the function
is defined to have result type <spanx style="verb">OptionalNodes</spanx> or one of its subtypes,
or to have result type <spanx style="verb">OptionalBoolean</spanx> or one of its subtypes.</t>
  <t>If it occurs as a <spanx style="verb">comparable</spanx> in a comparison, the function
is defined to have result type <spanx style="verb">OptionalNodeOrValue</spanx> or one of its subtypes.</t>
  <t>For it and any function expression it contains,
each argument of the function matches the defined type of the argument
according to one of the following rules:
  <list style="symbols">
      <t>The argument is a function expression with defined result type
that is the same as, or a subtype of, the defined type of the argument.</t>
      <t>The argument is a literal primitive value and the defined type of the  argument is <spanx style="verb">Value</spanx> or any type of which <spanx style="verb">Value</spanx> is a subtype.</t>
      <t>The argument is a Singular Path and the defined type of the argument is <spanx style="verb">OptionalNode</spanx> or any type of which <spanx style="verb">OptionalNode</spanx> is a subtype.</t>
      <t>The argument is a <spanx style="verb">filter-path</spanx> or a Singular Path and the defined type of the argument is <spanx style="verb">OptionalNodes</spanx>.</t>
    </list></t>
</list></t>

</section>
<section anchor="length"><name><spanx style="verb">length</spanx> Function Extension</name>

<dl>
  <dt>Arguments:</dt>
  <dd>
    <t><list style="numbers">
      <t><spanx style="verb">Value</spanx></t>
    </list></t>
  </dd>
  <dt>Result:</dt>
  <dd>
    <t><spanx style="verb">Value</spanx> (unsigned integer)</t>
  </dd>
</dl>

<t>The "length" function extension provides a way to compute the length
of a value and make that available for further processing in the
filter expression:</t>

<figure><sourcecode type="JSONPath"><![CDATA[
$[?length(@.authors) >= 5]
]]></sourcecode></figure>

<t>Its only argument is a value (possibly taken from a singular path as
in the example above).  The result also is a value, an unsigned
integer.</t>

<t><list style="symbols">
  <t>If the argument value is a string, the result is the number of
Unicode scalar values in the string.</t>
  <t>If the argument value is an array, the result is the number of
elements in the array.</t>
  <t>If the argument value is an object, the result is the number of
members in the object.</t>
  <t>For any other argument value, the result is one.</t>
</list></t>

</section>
<section anchor="count"><name><spanx style="verb">count</spanx> Function Extension</name>

<dl>
  <dt>Arguments:</dt>
  <dd>
    <t><list style="numbers">
      <t><spanx style="verb">OptionalNodes</spanx></t>
    </list></t>
  </dd>
  <dt>Result:</dt>
  <dd>
    <t><spanx style="verb">Value</spanx> (unsigned integer)</t>
  </dd>
</dl>

<t>The "count" function extension provides a way to obtain the number of
nodes in a nodelist and make that available for further processing in
the filter expression:</t>

<figure><sourcecode type="JSONPath"><![CDATA[
$[?count(@.*.author) >= 5]
]]></sourcecode></figure>

<t>Its only argument is a nodelist.
The result is a value, an unsigned integer, that gives the number of
nodes in the nodelist.
Note that there is no deduplication of the nodelist. <cref anchor="dedup">Well, that can be discussed.</cref></t>

</section>
<section anchor="match"><name><spanx style="verb">match</spanx> Function Extension</name>

<dl>
  <dt>Arguments:</dt>
  <dd>
    <t><list style="numbers">
      <t><spanx style="verb">OptionalNodeOrValue</spanx> (string)</t>
      <t><spanx style="verb">Value</spanx> (string conforming to <xref target="I-D.draft-ietf-jsonpath-iregexp"/>)</t>
    </list></t>
  </dd>
  <dt>Result:</dt>
  <dd>
    <t><spanx style="verb">OptionalBoolean</spanx> (<spanx style="verb">true</spanx>, <spanx style="verb">false</spanx>, or <spanx style="verb">Nothing</spanx>)</t>
  </dd>
</dl>

<t>The "match" function extension provides a way to check whether (the
entirety of, see <xref target="search"/> below) a given
string matches a given regular expression, which is in <xref target="I-D.draft-ietf-jsonpath-iregexp"/> form.</t>

<figure><sourcecode type="JSONPath"><![CDATA[
$[?match(@.date, "1974-05-..")]
]]></sourcecode></figure>

<t>Its first argument is a string that is matched against the iregexp
contained in the string that is the second argument.
The result is <spanx style="verb">true</spanx> if the string matches the iregexp and <spanx style="verb">false</spanx>
otherwise.</t>

<t>The result is <spanx style="verb">Nothing</spanx> if the first argument is not a string or
the second argument is not a string conforming to <xref target="I-D.draft-ietf-jsonpath-iregexp"/>.</t>

</section>
<section anchor="search"><name><spanx style="verb">search</spanx> Function Extension</name>

<dl>
  <dt>Arguments:</dt>
  <dd>
    <t><list style="numbers">
      <t><spanx style="verb">OptionalNodeOrValue</spanx> (string)</t>
      <t><spanx style="verb">Value</spanx> (string conforming to <xref target="I-D.draft-ietf-jsonpath-iregexp"/>)</t>
    </list></t>
  </dd>
  <dt>Result:</dt>
  <dd>
    <t><spanx style="verb">OptionalBoolean</spanx> (<spanx style="verb">true</spanx>, <spanx style="verb">false</spanx>, or <spanx style="verb">Nothing</spanx>)</t>
  </dd>
</dl>

<t>The "search" function extension provides a way to check whether a
given string contains a substring that matches a given regular
expression, which is in <xref target="I-D.draft-ietf-jsonpath-iregexp"/> form.</t>

<t>The result is <spanx style="verb">Nothing</spanx> if the first argument is not a string or
the second argument is not a string conforming to <xref target="I-D.draft-ietf-jsonpath-iregexp"/>.</t>

<figure><sourcecode type="JSONPath"><![CDATA[
$[?search(@.author, "[BR]ob")]
]]></sourcecode></figure>

<t>Its first argument is a string that is searched for at least one
substring that matches the iregexp contained in the string
that is the second argument.
The result is <spanx style="verb">true</spanx> if such a substring exists, <spanx style="verb">false</spanx> otherwise.</t>

</section>
<section numbered="false" toc="exclude" anchor="examples-6"><name>Examples</name>

<texttable title="Function expression examples">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$[?length(@) &lt; 3]</spanx></c>
      <c>Valid typing</c>
      <c><spanx style="verb">$[?length(@.*) &lt; 3]</spanx></c>
      <c>Invalid typing since <spanx style="verb">@.*</spanx> is a non-singular path</c>
      <c><spanx style="verb">$[?count(@.*) == 1]</spanx></c>
      <c>Valid typing</c>
      <c><spanx style="verb">$[?count(1) == 1]</spanx></c>
      <c>Invalid typing since <spanx style="verb">1</spanx> is not a path</c>
      <c><spanx style="verb">$[?count(foo(@.*)) == 1]</spanx></c>
      <c>Valid typing, where <spanx style="verb">foo</spanx> is a function extension with argument of type <spanx style="verb">OptionalNodes</spanx> and result type <spanx style="verb">OptionalNodes</spanx></c>
      <c><spanx style="verb">$[?match(@.timezone, 'Europe/.*')]</spanx></c>
      <c>Valid typing</c>
      <c><spanx style="verb">$[?match(@.timezone, 'Europe/.*') == true]</spanx></c>
      <c>Valid typing</c>
</texttable>

</section>
</section>
<section anchor="segments-details"><name>Segments</name>

<t>Segments apply one or more selectors to an input value and concatenate the results into a single nodelist.</t>

<t>It turns out that the more segments there are in a query, the greater the depth in the input value of the
nodes of the resultant nodelist:</t>

<t><list style="symbols">
  <t>A query with N segments, where N &gt;= 0, produces a nodelist
consisting of nodes at depth in the input value of N or greater.</t>
  <t>A query with N segments, where N &gt;= 0, all of which are <xref target="child-segment">child segments</xref>,
produces a nodelist consisting of nodes precisely at depth N in the input value.</t>
</list></t>

<t>There are two kinds of segment: child segments and descendant segments.</t>

<figure><sourcecode type="abnf"><![CDATA[
segment = child-segment / descendant-segment
]]></sourcecode></figure>

<t>The syntax and semantics of each kind of segment are defined below.</t>

<section anchor="child-segment"><name>Child Segment</name>

<section numbered="false" toc="exclude" anchor="syntax-5"><name>Syntax</name>

<t>The child segment consists of a non-empty, comma-separated
sequence of selectors enclosed in square brackets.</t>

<t>Shorthand notations are also provided for when there is a single
wildcard or name selector.</t>

<figure><sourcecode type="abnf"><![CDATA[
child-segment             = (child-longhand /
                             dot-wildcard-shorthand /
                             dot-member-name-shorthand)

child-longhand            = "[" S selector 1*(S "," S selector) S "]"

dot-wildcard-shorthand    = "." wildcard

dot-member-name-shorthand = "." dot-member-name
dot-member-name           = name-first *name-char
name-first                = ALPHA /
                            "_"   /            ; _
                            %x80-10FFFF
                              ; any non-ASCII Unicode character
name-char                 = DIGIT / name-first

DIGIT                     =  %x30-39              ; 0-9
ALPHA                     =  %x41-5A / %x61-7A    ; A-Z / a-z
]]></sourcecode></figure>

<t>The <spanx style="verb">dot-wildcard-shorthand</spanx> is shorthand for <spanx style="verb">[*]</spanx>.</t>

<t>A <spanx style="verb">dot-member-name-shorthand</spanx> of the form <spanx style="verb">.&lt;member-name&gt;</spanx> is shorthand for <spanx style="verb">['&lt;member-name&gt;']</spanx>, but
can only be used with member names that are composed of certain characters.
Thus, for example, <spanx style="verb">$.foo.bar</spanx> is shorthand for <spanx style="verb">$['foo']['bar']</spanx> (and not for <spanx style="verb">$['foo.bar']</spanx>).</t>

</section>
<section numbered="false" toc="exclude" anchor="semantics-6"><name>Semantics</name>

<t>A child segment contains a sequence of selectors, each of which
selects zero or more children of the input value.</t>

<t>Selectors of different kinds may be combined within a single child segment.</t>

<t>The resulting nodelist of a child segment is the concatenation of
the nodelists from each of its selectors in the order that the selectors
appear in the list.
Note that any node matched by more than one selector is kept
as many times in the nodelist.</t>

<t>Where a selector can produce a nodelist in more than one possible order,
each occurrence of the selector in the child segment
may evaluate to produce a nodelist in a distinct order.</t>

<t>So a child segment drills down one more level into the structure of the input value.</t>

</section>
<section numbered="false" toc="exclude" anchor="examples-7"><name>Examples</name>

<t>JSON:</t>

<figure><artwork><![CDATA[
["a", "b", "c", "d", "e", "f", "g"]
]]></artwork></figure>

<t>Queries:</t>

<texttable title="Child segment examples">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Result</ttcol>
      <ttcol align='center'>Result Paths</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$[0, 3]</spanx></c>
      <c><spanx style="verb">"a"</spanx> <br /> <spanx style="verb">"d"</spanx></c>
      <c><spanx style="verb">$[0]</spanx> <br /> <spanx style="verb">$[3]</spanx></c>
      <c>Indices</c>
      <c><spanx style="verb">$[0:2, 5]</spanx></c>
      <c><spanx style="verb">"a"</spanx> <br /> <spanx style="verb">"b"</spanx> <br /> <spanx style="verb">"f"</spanx></c>
      <c><spanx style="verb">$[0]</spanx> <br /> <spanx style="verb">$[1]</spanx> <br /> <spanx style="verb">$[5]</spanx></c>
      <c>Slice and index</c>
      <c><spanx style="verb">$[0, 0]</spanx></c>
      <c><spanx style="verb">"a"</spanx> <br /> <spanx style="verb">"a"</spanx></c>
      <c><spanx style="verb">$[0]</spanx> <br /> <spanx style="verb">$[0]</spanx></c>
      <c>Duplicated entries</c>
</texttable>

</section>
</section>
<section anchor="descendant-segment"><name>Descendant Segment</name>

<section numbered="false" toc="exclude" anchor="syntax-6"><name>Syntax</name>

<t>The descendant segment consists of a double dot <spanx style="verb">..</spanx>
followed by a child segment (<spanx style="verb">descendant-segment</spanx>).</t>

<t>Shortand notations are also provided that correspond to the shorthand forms of the child segment.</t>

<figure><sourcecode type="abnf"><![CDATA[
descendant-segment               = (descendant-child /
                                    descendant-wildcard-shorthand /
                                    descendant-member-name-shorthand)
descendant-child                 = ".." child-segment

descendant-wildcard-shorthand    = ".." wildcard
descendant-member-name-shorthand = ".." dot-member-name
]]></sourcecode></figure>

<t>The <spanx style="verb">descendant-wildcard-shorthand</spanx> is shorthand for <spanx style="verb">..[*]</spanx>.</t>

<t>A <spanx style="verb">descendant-member-name-shorthand</spanx> of the form <spanx style="verb">..&lt;member-name&gt;</spanx> is shorthand for <spanx style="verb">..['&lt;member-name&gt;']</spanx>.</t>

<t>Note that <spanx style="verb">..</spanx> on its own is not a valid segment.</t>

</section>
<section numbered="false" toc="exclude" anchor="semantics-7"><name>Semantics</name>

<t>A descendant segment produces zero or more descendants of the input value.</t>

<t>A descendant selector visits the input value and each of
its descendants such that:</t>

<t><list style="symbols">
  <t>nodes of any array are visited in array order, and</t>
  <t>nodes are visited before their descendants.</t>
</list></t>

<t>The order in which the children of an object are visited is not stipulated, since
JSON objects are unordered.</t>

<t>Suppose the nodes, in the order visited, are <spanx style="verb">D1</spanx>, ..., <spanx style="verb">Dn</spanx> (where <spanx style="verb">n &gt;= 1</spanx>).
Note that <spanx style="verb">D1</spanx> is the input value.</t>

<t>For each <spanx style="verb">i</spanx> such that <spanx style="verb">1 &lt;= i &lt;= n</spanx>, the nodelist <spanx style="verb">Ri</spanx> is defined to be a result of applying
the child segment <spanx style="verb">[&lt;selectors&gt;]</spanx> to the node <spanx style="verb">Di</spanx>.</t>

<t>The result of the descendant selector is the concatenation of <spanx style="verb">R1</spanx>, ..., <spanx style="verb">Rn</spanx> (in that order).</t>

<t>So a descendant segment drills down one or more levels into the structure of the input value.</t>

</section>
<section numbered="false" toc="exclude" anchor="examples-8"><name>Examples</name>

<t>JSON:</t>

<figure><artwork><![CDATA[
{
  "o": {"j": 1, "k": 2},
  "a": [5, 3, [{"j": 4}, {"k": 6}]]
}
]]></artwork></figure>

<t>Queries:</t>

<texttable title="Descendant segment examples">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Result</ttcol>
      <ttcol align='center'>Result Paths</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$..j</spanx></c>
      <c><spanx style="verb">1</spanx> <br /> <spanx style="verb">4</spanx></c>
      <c><spanx style="verb">$['o']['j']</spanx> <br /> <spanx style="verb">$['a'][2][0]['j']</spanx></c>
      <c>Object values</c>
      <c><spanx style="verb">$..j</spanx></c>
      <c><spanx style="verb">4</spanx> <br /> <spanx style="verb">1</spanx></c>
      <c><spanx style="verb">$['a'][2][0]['j']</spanx> <br /> <spanx style="verb">$['o']['j']</spanx></c>
      <c>Alternative result</c>
      <c><spanx style="verb">$..[0]</spanx></c>
      <c><spanx style="verb">5</spanx> <br /> <spanx style="verb">{"j": 4}</spanx></c>
      <c><spanx style="verb">$['a'][0]</spanx> <br /> <spanx style="verb">$['a'][2][0]</spanx></c>
      <c>Array values</c>
      <c><spanx style="verb">$..[0]</spanx></c>
      <c><spanx style="verb">{"j": 4}</spanx> <br /> <spanx style="verb">5</spanx></c>
      <c><spanx style="verb">$['a'][2][0]</spanx> <br /> <spanx style="verb">$['a'][0]</spanx></c>
      <c>Alternative result</c>
      <c><spanx style="verb">$..[*]</spanx> <br /> <spanx style="verb">$..*</spanx></c>
      <c><spanx style="verb">{"j": 1, "k" : 2}</spanx> <br /> <spanx style="verb">[5, 3, [{"j": 4}, {"k": 6}]]</spanx> <br /> <spanx style="verb">1</spanx> <br /> <spanx style="verb">2</spanx> <br /> <spanx style="verb">5</spanx> <br /> <spanx style="verb">3</spanx> <br /> <spanx style="verb">[{"j": 4}, {"k": 6}]</spanx> <br /> <spanx style="verb">{"j": 4}</spanx> <br /> <spanx style="verb">4</spanx> <br /> <spanx style="verb">{"k": 6}</spanx> <br /> <spanx style="verb">6</spanx></c>
      <c><spanx style="verb">$['o']</spanx> <br /> <spanx style="verb">$['a']</spanx> <br /> <spanx style="verb">$['o']['j']</spanx> <br /> <spanx style="verb">$['o']['k']</spanx> <br /> <spanx style="verb">$['a'][0]</spanx> <br /> <spanx style="verb">$['a'][1]</spanx> <br /> <spanx style="verb">$['a'][2]</spanx> <br /> <spanx style="verb">$['a'][2][0]</spanx> <br /> <spanx style="verb">$['a'][2][0]['j']</spanx> <br /> <spanx style="verb">$['a'][2][1]</spanx> <br /> <spanx style="verb">$['a'][2][1]['k']</spanx></c>
      <c>All values</c>
      <c><spanx style="verb">$..o</spanx></c>
      <c><spanx style="verb">{"j": 1, "k": 2}</spanx></c>
      <c><spanx style="verb">$['o']</spanx></c>
      <c>Input value is visited</c>
      <c><spanx style="verb">$.o..[*, *]</spanx></c>
      <c><spanx style="verb">1</spanx> <br /> <spanx style="verb">2</spanx> <br /> <spanx style="verb">2</spanx> <br /> <spanx style="verb">1</spanx></c>
      <c><spanx style="verb">$['o']['j']</spanx> <br /> <spanx style="verb">$['o']['k']</spanx> <br /> <spanx style="verb">$['o']['k']</spanx> <br /> <spanx style="verb">$['o']['j']</spanx></c>
      <c>Non-deterministic ordering</c>
      <c><spanx style="verb">$.a..[0, 1]</spanx></c>
      <c><spanx style="verb">5</spanx> <br /> <spanx style="verb">3</spanx> <br /> <spanx style="verb">{"j": 4}</spanx> <br /> <spanx style="verb">{"k": 6}</spanx></c>
      <c><spanx style="verb">$['a'][0]</spanx> <br /> <spanx style="verb">$['a'][1]</spanx> <br /> <spanx style="verb">$['a'][0][2][0]</spanx> <br /> <spanx style="verb">$['a'][0][2][1]</spanx></c>
      <c>Multiple segments</c>
</texttable>

<t>Note: The ordering of the results for the <spanx style="verb">$..[*]</spanx> and <spanx style="verb">$..*</spanx> examples above is not guaranteed, except that:</t>

<t><list style="symbols">
  <t><spanx style="verb">{"j": 1, "k": 2}</spanx> must appear before <spanx style="verb">1</spanx> and <spanx style="verb">2</spanx>,</t>
  <t><spanx style="verb">[5, 3, [{"j": 4}, {"k": 6}]]</spanx> must appear before <spanx style="verb">5</spanx>, <spanx style="verb">3</spanx>, and <spanx style="verb">[{"j": 4}, {"k": 6}]</spanx>,</t>
  <t><spanx style="verb">5</spanx> must appear before <spanx style="verb">3</spanx> which must appear before <spanx style="verb">[{"j": 4}, {"k": 6}]</spanx>,</t>
  <t><spanx style="verb">5</spanx> and <spanx style="verb">3</spanx> must appear before <spanx style="verb">{"j": 4}</spanx>, <spanx style="verb">4</spanx>, <spanx style="verb">, {"k": 6}</spanx>, and <spanx style="verb">6</spanx>,</t>
  <t><spanx style="verb">[{"j": 4}, {"k": 6}]</spanx> must appear before <spanx style="verb">{"j": 4}</spanx> and <spanx style="verb">{"k": 6}</spanx>,</t>
  <t><spanx style="verb">{"j": 4}</spanx> must appear before <spanx style="verb">4</spanx>, and</t>
  <t><spanx style="verb">{"k": 6}</spanx> must appear before <spanx style="verb">6</spanx>.</t>
</list></t>

<t>The example above with the query <spanx style="verb">$.o..[*, *]</spanx> shows that a selector may produce nodelists in distinct orders
each time it appears in the descendant segment.</t>

<t>The example above with the query <spanx style="verb">$.a..[0, 1]</spanx> shows that the child segment <spanx style="verb">[0, 1]</spanx> is applied to each node
in turn (rather than the nodes being visited once per selector, which is the case for some JSONPath implementations
that do not conform to this specification).</t>

</section>
</section>
</section>
<section anchor="null-semantics"><name>Semantics of <spanx style="verb">null</spanx></name>

<t>Note that JSON <spanx style="verb">null</spanx> is treated the same as any other JSON value: it is not taken to mean "undefined" or "missing".</t>

<section numbered="false" toc="exclude" anchor="examples-9"><name>Examples</name>

<t>JSON:</t>

<figure><artwork><![CDATA[
{"a": null, "b": [null], "c": [{}], "null": 1}
]]></artwork></figure>

<t>Queries:</t>

<texttable title="Examples involving (or not involving) null">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Result</ttcol>
      <ttcol align='center'>Result Paths</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$.a</spanx></c>
      <c><spanx style="verb">null</spanx></c>
      <c><spanx style="verb">$['a']</spanx></c>
      <c>Object value</c>
      <c><spanx style="verb">$.a[0]</spanx></c>
      <c>&#160;</c>
      <c>&#160;</c>
      <c><spanx style="verb">null</spanx> used as array</c>
      <c><spanx style="verb">$.a.d</spanx></c>
      <c>&#160;</c>
      <c>&#160;</c>
      <c><spanx style="verb">null</spanx> used as object</c>
      <c><spanx style="verb">$.b[0]</spanx></c>
      <c><spanx style="verb">null</spanx></c>
      <c><spanx style="verb">$['b'][0]</spanx></c>
      <c>Array value</c>
      <c><spanx style="verb">$.b[*]</spanx></c>
      <c><spanx style="verb">null</spanx></c>
      <c><spanx style="verb">$['b'][0]</spanx></c>
      <c>Array value</c>
      <c><spanx style="verb">$.b[?@]</spanx></c>
      <c><spanx style="verb">null</spanx></c>
      <c><spanx style="verb">$['b'][0]</spanx></c>
      <c>Existence</c>
      <c><spanx style="verb">$.b[?@==null]</spanx></c>
      <c><spanx style="verb">null</spanx></c>
      <c><spanx style="verb">$['b'][0]</spanx></c>
      <c>Comparison</c>
      <c><spanx style="verb">$.c[?(@.d==null)]</spanx></c>
      <c>&#160;</c>
      <c>&#160;</c>
      <c>Comparison with "missing" value</c>
      <c><spanx style="verb">$.null</spanx></c>
      <c><spanx style="verb">1</spanx></c>
      <c><spanx style="verb">$['null']</spanx></c>
      <c>Not JSON null at all, just a member name string</c>
</texttable>

</section>
</section>
<section anchor="normalized-paths"><name>Normalized Paths</name>

<t>A Normalized Path is a canonical representation of the location of a node in a value and
uniquely identifies the node in the value.
Specifically, a Normalized Path is a JSONPath query with restricted syntax (defined below),
e.g., <spanx style="verb">$['book'][3]</spanx>, which when applied to the value results in a nodelist consisting
of just the node identified by the Normalized Path.
Note that a Normalized Path represents the identity of a node <em>in a specific value</em>.
There is precisely one Normalized Path identifying any particular node in a value.</t>

<t>A canonical representation of a nodelist is as a JSON arrays of strings, where the strings are
Normalized Paths.</t>

<t>Normalized Paths provide a predictable format that simplifies testing and post-processing
of nodelists, e.g., to remove duplicate nodes.
Normalized Paths are used in this document as result paths in examples.</t>

<t>Normalized Paths use the canonical bracket notation, rather than dot notation.</t>

<t>Single quotes are used to delimit string member names. This reduces the number of characters that
need escaping when Normalized Paths appear in double quote delimited strings, e.g., in JSON texts.</t>

<t>Certain characters are escaped, in one and only one way; all other characters are unescaped.</t>

<t>Note: Normalized Paths are Singular Paths, but not all Singular Paths are Normalized Paths.
For example, <spanx style="verb">$[-3]</spanx> is a Singular Path, but is not a Normalized Path.
The Normalized Path equivalent to <spanx style="verb">$[-3]</spanx> would have an index equal to the array length minus <spanx style="verb">3</spanx>.
(The array length must be at least <spanx style="verb">3</spanx> if <spanx style="verb">$[-3]</spanx> is to identify a node.)</t>

<figure><sourcecode type="abnf"><![CDATA[
normalized-path      = root-identifier *(normal-index-segment)
normal-index-segment = "[" normal-selector "]"
normal-selector      = normal-name-selector / normal-index-selector
normal-name-selector = %x27 *normal-single-quoted %x27 ; 'string'
normal-single-quoted = normal-unescaped /
                       ESC normal-escapable
normal-unescaped     = %x20-26 /                 ; omit control codes
                       %x28-5B /                 ; omit '
                       %x5D-10FFFF               ; omit \
normal-escapable     = ( %x62 / %x66 / %x6E / %x72 / %x74 /
                           ; \b \f \n \r \t
                           ; b /         ;  BS backspace U+0008
                           ; t /         ;  HT horizontal tab U+0009
                           ; n /         ;  LF line feed U+000A
                           ; f /         ;  FF form feed U+000C
                           ; r /         ;  CR carriage return U+000D
                         "'" /           ;  ' apostrophe U+0027
                         "\" / ; \ backslash (reverse solidus) U+005C
                         (%x75 normal-hexchar)
                                        ; certain values u00xx U+00XX
                        )
normal-hexchar       = "0" "0"
                       (
                          ("0" %x30-37) / ; "00"-"07"
                          ("0" %x62) / ; "0b" ; omit U+0008-U+000A
                          ("0" %x65-66) /
                            ; "0e"-"0f" ; omit U+000C-U+000D
                          ("1" normal-HEXDIG)
                        )
normal-HEXDIG        = DIGIT / %x61-66   ; "0"-"9", "a"-"f"
normal-index-selector = "0" / (DIGIT1 *DIGIT)
                          ; non-negative decimal integer
]]></sourcecode></figure>

<t>Since there can only be one Normalized Path identifying a given node, the syntax
stipulates which characters are escaped and which are not.
So the definition of <spanx style="verb">normal-hexchar</spanx> is designed for hex escaping of characters
which are not straightforwardly-printable, for example U+000B LINE TABULATION, but
for which no standard JSON escape, such as <spanx style="verb">\n</spanx>, is available.</t>

<section numbered="false" toc="exclude" anchor="examples-10"><name>Examples</name>

<texttable title="Normalized Path examples">
      <ttcol align='center'>Path</ttcol>
      <ttcol align='center'>Normalized Path</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$.a</spanx></c>
      <c><spanx style="verb">$['a']</spanx></c>
      <c>Object value</c>
      <c><spanx style="verb">$[1]</spanx></c>
      <c><spanx style="verb">$[1]</spanx></c>
      <c>Array index</c>
      <c><spanx style="verb">$[-3]</spanx></c>
      <c><spanx style="verb">$[2]</spanx></c>
      <c>Negative array index for an array of length 5</c>
      <c><spanx style="verb">$.a.b[1:2]</spanx></c>
      <c><spanx style="verb">$['a']['b'][1]</spanx></c>
      <c>Nested structure</c>
      <c><spanx style="verb">$["\u000B"]</spanx></c>
      <c><spanx style="verb">$['\u000b']</spanx></c>
      <c>Unicode escape</c>
      <c><spanx style="verb">$["\u0061"]</spanx></c>
      <c><spanx style="verb">$['a']</spanx></c>
      <c>Unicode character</c>
</texttable>

</section>
</section>
</section>
<section anchor="IANA"><name>IANA Considerations</name>

<section anchor="registration-of-media-type-applicationjsonpath"><name>Registration of Media Type application/jsonpath</name>

<t>IANA is requested to register the following media type <xref target="RFC6838"/>:</t>

<dl>
  <dt>Type name:</dt>
  <dd>
    <t>application</t>
  </dd>
  <dt>Subtype name:</dt>
  <dd>
    <t>jsonpath</t>
  </dd>
  <dt>Required parameters:</dt>
  <dd>
    <t>N/A</t>
  </dd>
  <dt>Optional parameters:</dt>
  <dd>
    <t>N/A</t>
  </dd>
  <dt>Encoding considerations:</dt>
  <dd>
    <t>binary (UTF-8)</t>
  </dd>
  <dt>Security considerations:</dt>
  <dd>
    <t>See the Security Considerations section of RFCXXXX.</t>
  </dd>
  <dt>Interoperability considerations:</dt>
  <dd>
    <t>N/A</t>
  </dd>
  <dt>Published specification:</dt>
  <dd>
    <t>RFCXXXX</t>
  </dd>
  <dt>Applications that use this media type:</dt>
  <dd>
    <t>Applications that need to convey queries in JSON data</t>
  </dd>
  <dt>Fragment identifier considerations:</dt>
  <dd>
    <t>N/A</t>
  </dd>
  <dt>Additional information:</dt>
  <dd>
    <dl>
      <dt>Deprecated alias names for this type:</dt>
      <dd>
        <t>N/A</t>
      </dd>
      <dt>Magic number(s):</dt>
      <dd>
        <t>N/A</t>
      </dd>
      <dt>File extension(s):</dt>
      <dd>
        <t>N/A</t>
      </dd>
      <dt>Macintosh file type code(s):</dt>
      <dd>
        <t>N/A</t>
      </dd>
    </dl>
  </dd>
</dl>

<t>Person &amp; email address to contact for further information:
   iesg@ietf.org</t>

<dl>
  <dt>Intended usage:</dt>
  <dd>
    <t>COMMON</t>
  </dd>
  <dt>Restrictions on usage:</dt>
  <dd>
    <t>N/A</t>
  </dd>
  <dt>Author:</dt>
  <dd>
    <t>JSONPath WG</t>
  </dd>
  <dt>Change controller:</dt>
  <dd>
    <t>IESG</t>
  </dd>
  <dt>Provisional registration? (standards tree only):</dt>
  <dd>
    <t>no</t>
  </dd>
</dl>

</section>
<section anchor="iana-fnex"><name>Function Extensions</name>

<t>This specification defines a new "Function Extensions sub-registry" in
a new "JSONPath Parameters registry", with the policy "expert review"
(<xref section="4.5" sectionFormat="of" target="BCP26"/>).</t>

<t anchor="de-instructions">The experts are instructed to be frugal in the allocation of function
extension names that are suggestive of generally applicable semantics,
keeping them in reserve for functions that are likely to enjoy wide
use and can make good use of their conciseness.
The expert is also instructed to direct the registrant to provide a
specification (<xref section="4.6" sectionFormat="of" target="BCP26"/>), but can make exceptions,
for instance when a specification is not available at the time of
registration but is likely forthcoming.
If the expert becomes aware of function extensions that are deployed and
in use, they may also initiate a registration on their own if
they deem such a registration can avert potential future collisions.</t>

<t>Each entry in the registry must include:</t>

<dl newline="true">
  <dt>Function Name:</dt>
  <dd>
    <t>a lower case ASCII <xref target="STD80"/> string that starts with a letter and can
contain letters, digits and underscore characters afterwards
(<spanx style="verb">[a-z][_a-z0-9]*</spanx>).</t>
  </dd>
  <dt>Brief description:</dt>
  <dd>
    <t>a brief description</t>
  </dd>
  <dt>Input:</dt>
  <dd>
    <t>A comma-separated list of zero or more kinds (value or nodes) of the
arguments expected for this function extension</t>
  </dd>
  <dt>Output:</dt>
  <dd>
    <t>The kind (value or nodes) of the result for this function extension</t>
  </dd>
  <dt>Change Controller:</dt>
  <dd>
    <t>(see <xref section="2.3" sectionFormat="of" target="BCP26"/>)</t>
  </dd>
  <dt>Reference:</dt>
  <dd>
    <t>a reference document that provides a description of the function
extension</t>
  </dd>
</dl>

<t>Initial entries in this sub-registry are as listed in <xref target="pre-reg"/>:</t>

<texttable title="Initial Entries in the Function Extensions Subregistry" anchor="pre-reg">
      <ttcol align='left'>Function Name</ttcol>
      <ttcol align='left'>Brief description</ttcol>
      <ttcol align='left'>Input</ttcol>
      <ttcol align='left'>Output</ttcol>
      <ttcol align='left'>Change Controller</ttcol>
      <ttcol align='left'>Reference</ttcol>
      <c>length</c>
      <c>length of array</c>
      <c>value</c>
      <c>value</c>
      <c>IESG</c>
      <c><xref target="fnex"/> of RFCthis</c>
      <c>count</c>
      <c>size of nodelist</c>
      <c>nodelist</c>
      <c>value</c>
      <c>IESG</c>
      <c><xref target="fnex"/> of RFCthis</c>
      <c>match</c>
      <c>regular expression full match</c>
      <c>value, value</c>
      <c>value</c>
      <c>IESG</c>
      <c><xref target="fnex"/> of RFCthis</c>
      <c>search</c>
      <c>regular expression substring match</c>
      <c>value, value</c>
      <c>value</c>
      <c>IESG</c>
      <c><xref target="fnex"/> of RFCthis</c>
</texttable>

</section>
</section>
<section anchor="Security"><name>Security Considerations</name>

<t>Security considerations for JSONPath can stem from</t>

<t><list style="symbols">
  <t>attack vectors on JSONPath implementations,</t>
  <t>attack vectors on how JSONPath queries are formed, and</t>
  <t>the way JSONPath is used in security-relevant mechanisms.</t>
</list></t>

<section anchor="attack-vectors-on-jsonpath-implementations"><name>Attack Vectors on JSONPath Implementations</name>

<t>Historically, JSONPath has often been implemented by feeding parts of
the query to an underlying programming language engine, e.g.,
JavaScript's <spanx style="verb">eval()</spanx> function.
This approach is well known to lead to injection attacks and would
require perfect input validation to prevent these attacks (see
<xref section="12" sectionFormat="of" target="RFC8259"/> for similar considerations for JSON itself).
Instead, JSONPath implementations need to implement the entire syntax
of the query without relying on the parsers of programming language
engines.</t>

<t>Attacks on availability may attempt to trigger unusually expensive
runtime performance exhibited by certain implementations in certain
cases.
(See <xref section="10" sectionFormat="of" target="RFC8949"/> for issues in hash-table implementations,
and <xref section="8" sectionFormat="of" target="I-D.draft-ietf-jsonpath-iregexp"/> for performance issues in regular
expression implementations.)
Implementers need to be aware that good average performance is not
sufficient as long as an attacker can choose to submit specially
crafted JSONPath queries or arguments that trigger surprisingly high, possibly
exponential, CPU usage or, for example via a naive recursive implementation of the descendant segment,
stack overflow. Implementations need to have appropriate resource management
to mitigate these attacks.</t>

</section>
<section anchor="attack-vectors-on-how-jsonpath-queries-are-formed"><name>Attack Vectors on How JSONPath Queries are Formed</name>

<t>JSONPath queries are often not static, but formed from variables that
provide index values, member names, or values to compare with in a
filter expression.
These variables need to be translated into the form they take in a
JSONPath query, e.g., by escaping string delimiters, or by only
allowing specific constructs such as <spanx style="verb">.name</spanx> to be formed when the
given values allow that.
Failure to perform these translations correctly can lead to unexpected
failures, which can lead to Availability, Confidentiality, and
Integrity breaches, in particular if an adversary has control over the
values (e.g., by entering them into a Web form).
The resulting class of attacks, <em>injections</em> (e.g., SQL injections),
is consistently found among the top causes of application security
vulnerabilities and requires particular attention.</t>

</section>
<section anchor="attacks-on-security-mechanisms-that-employ-jsonpath"><name>Attacks on Security Mechanisms that Employ JSONPath</name>

<t>Where JSONPath is used as a part of a security mechanism, attackers
can attempt to provoke unexpected or unpredictable behavior, or
take advantage of differences in behavior between JSONPath implementations.</t>

<t>Unexpected or unpredictable behavior can arise from an argument with certain
constructs described as unpredictable by <xref target="RFC8259"/>.
Predictable behavior can be expected, except in relation to the ordering
of objects, for any argument conforming with <xref target="RFC7493"/>.</t>

<t>Other attacks can target the behavior of underlying technologies such as UTF-8 (see
<xref section="10" sectionFormat="of" target="RFC3629"/>) and the Unicode character set.</t>

</section>
</section>


  </middle>

  <back>


    <references title='Normative References'>





<reference anchor='STD80' target='https://www.rfc-editor.org/info/rfc20'>
<front>
<title>ASCII format for network interchange</title>
<author fullname='V.G. Cerf' initials='V.G.' surname='Cerf'><organization/></author>
<date month='October' year='1969'/>
</front>
<seriesInfo name='STD' value='80'/>
<seriesInfo name='RFC' value='20'/>
<seriesInfo name='DOI' value='10.17487/RFC0020'/>
</reference>



<reference anchor='BCP26' target='https://www.rfc-editor.org/info/rfc8126'>
<front>
<title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
<author fullname='M. Cotton' initials='M.' surname='Cotton'><organization/></author>
<author fullname='B. Leiba' initials='B.' surname='Leiba'><organization/></author>
<author fullname='T. Narten' initials='T.' surname='Narten'><organization/></author>
<date month='June' year='2017'/>
<abstract><t>Many protocols make use of points of extensibility that use constants to identify various protocol parameters.  To ensure that the values in these fields do not have conflicting uses and to promote interoperability, their allocations are often coordinated by a central record keeper.  For IETF protocols, that role is filled by the Internet Assigned Numbers Authority (IANA).</t><t>To make assignments in a given registry prudently, guidance describing the conditions under which new values should be assigned, as well as when and how modifications to existing values can be made, is needed.  This document defines a framework for the documentation of these guidelines by specification authors, in order to assure that the provided guidance for the IANA Considerations is clear and addresses the various issues that are likely in the operation of a registry.</t><t>This is the third edition of this document; it obsoletes RFC 5226.</t></abstract>
</front>
<seriesInfo name='BCP' value='26'/>
<seriesInfo name='RFC' value='8126'/>
<seriesInfo name='DOI' value='10.17487/RFC8126'/>
</reference>



<reference anchor='RFC3629' target='https://www.rfc-editor.org/info/rfc3629'>
<front>
<title>UTF-8, a transformation format of ISO 10646</title>
<author fullname='F. Yergeau' initials='F.' surname='Yergeau'><organization/></author>
<date month='November' year='2003'/>
<abstract><t>ISO/IEC 10646-1 defines a large character set called the Universal Character Set (UCS) which encompasses most of the world's writing systems.  The originally proposed encodings of the UCS, however, were not compatible with many current applications and protocols, and this has led to the development of UTF-8, the object of this memo.  UTF-8 has the characteristic of preserving the full US-ASCII range, providing compatibility with file systems, parsers and other software that rely on US-ASCII values but are transparent to other values.  This memo obsoletes and replaces RFC 2279.</t></abstract>
</front>
<seriesInfo name='STD' value='63'/>
<seriesInfo name='RFC' value='3629'/>
<seriesInfo name='DOI' value='10.17487/RFC3629'/>
</reference>



<reference anchor='RFC5234' target='https://www.rfc-editor.org/info/rfc5234'>
<front>
<title>Augmented BNF for Syntax Specifications: ABNF</title>
<author fullname='D. Crocker' initials='D.' role='editor' surname='Crocker'><organization/></author>
<author fullname='P. Overell' initials='P.' surname='Overell'><organization/></author>
<date month='January' year='2008'/>
<abstract><t>Internet technical specifications often need to define a formal syntax.  Over the years, a modified version of Backus-Naur Form (BNF), called Augmented BNF (ABNF), has been popular among many Internet specifications.  The current specification documents ABNF. It balances compactness and simplicity with reasonable representational power.  The differences between standard BNF and ABNF involve naming rules, repetition, alternatives, order-independence, and value ranges.  This specification also supplies additional rule definitions and encoding for a core lexical analyzer of the type common to several Internet specifications.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='STD' value='68'/>
<seriesInfo name='RFC' value='5234'/>
<seriesInfo name='DOI' value='10.17487/RFC5234'/>
</reference>



<reference anchor='RFC8259' target='https://www.rfc-editor.org/info/rfc8259'>
<front>
<title>The JavaScript Object Notation (JSON) Data Interchange Format</title>
<author fullname='T. Bray' initials='T.' role='editor' surname='Bray'><organization/></author>
<date month='December' year='2017'/>
<abstract><t>JavaScript Object Notation (JSON) is a lightweight, text-based, language-independent data interchange format.  It was derived from the ECMAScript Programming Language Standard.  JSON defines a small set of formatting rules for the portable representation of structured data.</t><t>This document removes inconsistencies with other specifications of JSON, repairs specification errors, and offers experience-based interoperability guidance.</t></abstract>
</front>
<seriesInfo name='STD' value='90'/>
<seriesInfo name='RFC' value='8259'/>
<seriesInfo name='DOI' value='10.17487/RFC8259'/>
</reference>



<reference anchor='RFC7493' target='https://www.rfc-editor.org/info/rfc7493'>
<front>
<title>The I-JSON Message Format</title>
<author fullname='T. Bray' initials='T.' role='editor' surname='Bray'><organization/></author>
<date month='March' year='2015'/>
<abstract><t>I-JSON (short for &quot;Internet JSON&quot;) is a restricted profile of JSON designed to maximize interoperability and increase confidence that software can process it successfully with predictable results.</t></abstract>
</front>
<seriesInfo name='RFC' value='7493'/>
<seriesInfo name='DOI' value='10.17487/RFC7493'/>
</reference>



<reference anchor='RFC6838' target='https://www.rfc-editor.org/info/rfc6838'>
<front>
<title>Media Type Specifications and Registration Procedures</title>
<author fullname='N. Freed' initials='N.' surname='Freed'><organization/></author>
<author fullname='J. Klensin' initials='J.' surname='Klensin'><organization/></author>
<author fullname='T. Hansen' initials='T.' surname='Hansen'><organization/></author>
<date month='January' year='2013'/>
<abstract><t>This document defines procedures for the specification and registration of media types for use in HTTP, MIME, and other Internet protocols.  This memo documents an Internet Best Current Practice.</t></abstract>
</front>
<seriesInfo name='BCP' value='13'/>
<seriesInfo name='RFC' value='6838'/>
<seriesInfo name='DOI' value='10.17487/RFC6838'/>
</reference>


<reference anchor='I-D.draft-ietf-jsonpath-iregexp'>
   <front>
      <title>I-Regexp: An Interoperable Regexp Format</title>
      <author fullname='Carsten Bormann' initials='C.' surname='Bormann'>
         <organization>Universität Bremen TZI</organization>
      </author>
      <author fullname='Tim Bray' initials='T.' surname='Bray'>
         <organization>Textuality</organization>
      </author>
      <date day='17' month='October' year='2022'/>
      <abstract>
	 <t>   This document specifies I-Regexp, a flavor of regular expressions
   that is limited in scope with the goal of interoperation across many
   different regular-expression libraries.

	 </t>
      </abstract>
   </front>
   <seriesInfo name='Internet-Draft' value='draft-ietf-jsonpath-iregexp-02'/>
   <format target='https://www.ietf.org/archive/id/draft-ietf-jsonpath-iregexp-02.txt' type='TXT'/>
</reference>


<reference anchor="UNICODE" target="https://www.unicode.org/versions/Unicode14.0.0/UnicodeStandard-14.0.pdf">
  <front>
    <title>The Unicode® Standard: Version 14.0 - Core Specification</title>
    <author >
      <organization>The Unicode Consortium</organization>
    </author>
    <date year="2021" month="September"/>
  </front>
  <format type="PDF" target="https://www.unicode.org/versions/Unicode14.0.0/UnicodeStandard-14.0.pdf"/>
</reference>




<reference anchor='RFC2119' target='https://www.rfc-editor.org/info/rfc2119'>
<front>
<title>Key words for use in RFCs to Indicate Requirement Levels</title>
<author fullname='S. Bradner' initials='S.' surname='Bradner'><organization/></author>
<date month='March' year='1997'/>
<abstract><t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='2119'/>
<seriesInfo name='DOI' value='10.17487/RFC2119'/>
</reference>



<reference anchor='RFC8174' target='https://www.rfc-editor.org/info/rfc8174'>
<front>
<title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
<author fullname='B. Leiba' initials='B.' surname='Leiba'><organization/></author>
<date month='May' year='2017'/>
<abstract><t>RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='8174'/>
<seriesInfo name='DOI' value='10.17487/RFC8174'/>
</reference>




    </references>

    <references title='Informative References'>





<reference anchor='RFC6901' target='https://www.rfc-editor.org/info/rfc6901'>
<front>
<title>JavaScript Object Notation (JSON) Pointer</title>
<author fullname='P. Bryan' initials='P.' role='editor' surname='Bryan'><organization/></author>
<author fullname='K. Zyp' initials='K.' surname='Zyp'><organization/></author>
<author fullname='M. Nottingham' initials='M.' role='editor' surname='Nottingham'><organization/></author>
<date month='April' year='2013'/>
<abstract><t>JSON Pointer defines a string syntax for identifying a specific value within a JavaScript Object Notation (JSON) document.</t></abstract>
</front>
<seriesInfo name='RFC' value='6901'/>
<seriesInfo name='DOI' value='10.17487/RFC6901'/>
</reference>


<reference anchor="JSONPath-orig" target="https://goessner.net/articles/JsonPath/">
  <front>
    <title>JSONPath — XPath for JSON</title>
    <author initials="S." surname="Gössner" fullname="Stefan Gössner">
      <organization>Fachhochschule Dortmund</organization>
    </author>
    <date year="2007" month="February" day="21"/>
  </front>
</reference>


<reference anchor='XPath' target='https://www.w3.org/TR/2010/REC-xpath20-20101214/'>
  <front>
    <title>XML Path Language (XPath) 2.0 (Second Edition)</title>
    <author fullname='Anders Berglund' role='editor'/>
    <author fullname='Don Chamberlin' role='editor'/>
    <author fullname='Jerome Simeon' role='editor'/>
    <author fullname='Jonathan Robie' role='editor'/>
    <author fullname='Mary Fernandez' role='editor'/>
    <author fullname='Michael Kay' role='editor'/>
    <author fullname='Scott Boag' role='editor'/>
    <date day='14' month='December' year='2010'/>
  </front>
  <seriesInfo name='W3C REC' value='REC-xpath20-20101214'/>
  <seriesInfo name='W3C' value='REC-xpath20-20101214'/>
  <format target='https://www.w3.org/TR/2010/REC-xpath20-20101214/' type='TXT'/>
</reference>


<reference anchor="E4X" >
  <front>
    <title>Information technology — ECMAScript for XML (E4X) specification</title>
    <author >
      <organization>ISO</organization>
    </author>
    <date year="2006"/>
  </front>
  <seriesInfo name="ISO/IEC 22537:2006" value=""/>
</reference>
<reference anchor="SLICE" target="https://github.com/tc39/proposal-slice-notation">
  <front>
    <title>Slice notation</title>
    <author >
      <organization></organization>
    </author>
    <date year="n.d."/>
  </front>
</reference>
<reference anchor="ECMA-262" target="http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf">
  <front>
    <title>ECMAScript Language Specification, Standard ECMA-262, Third Edition</title>
    <author >
      <organization>Ecma International</organization>
    </author>
    <date year="1999" month="December"/>
  </front>
</reference>




<reference anchor='RFC8949' target='https://www.rfc-editor.org/info/rfc8949'>
<front>
<title>Concise Binary Object Representation (CBOR)</title>
<author fullname='C. Bormann' initials='C.' surname='Bormann'><organization/></author>
<author fullname='P. Hoffman' initials='P.' surname='Hoffman'><organization/></author>
<date month='December' year='2020'/>
<abstract><t>The Concise Binary Object Representation (CBOR) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation. These design goals make it different from earlier binary serializations such as ASN.1 and MessagePack.</t><t>This document obsoletes RFC 7049, providing editorial improvements, new details, and errata fixes while keeping full compatibility with the interchange format of RFC 7049.  It does not create a new version of the format.</t></abstract>
</front>
<seriesInfo name='STD' value='94'/>
<seriesInfo name='RFC' value='8949'/>
<seriesInfo name='DOI' value='10.17487/RFC8949'/>
</reference>


<reference anchor="BOOLEAN-LAWS" target="https://en.wikipedia.org/wiki/Boolean_algebra#Laws">
  <front>
    <title>Boolean algebra laws</title>
    <author >
      <organization></organization>
    </author>
    <date year="n.d."/>
  </front>
</reference>


    </references>


<section anchor="inspired-by-xpath"><name>Inspired by XPath</name>

<t>This appendix is informative.</t>

<t>At the time JSONPath was invented, XML was noted for the availability of
powerful tools to analyze, transform and selectively extract data from
XML documents.
<xref target="XPath"/> is one of these tools.</t>

<t>In 2007, the need for something solving the same class of problems for
the emerging JSON community became apparent, specifically for:</t>

<t><list style="symbols">
  <t>Finding data interactively and extracting them out of <xref target="RFC8259"/>
JSON values without special scripting.</t>
  <t>Specifying the relevant parts of the JSON data in a request by a
client, so the server can reduce the amount of data in its response,
minimizing bandwidth usage.</t>
</list></t>

<t>(Note that XPath has evolved since 2007, and recent versions even
nominally support operating inside JSON values.
This appendix only discusses the more widely used version of XPath
that was available in 2007.)</t>

<t>JSONPath picks up the overall feeling of XPath, but maps the concepts
to syntax (and partially semantics) that would be familiar to someone
using JSON in a dynamic language.</t>

<t>E.g., in popular dynamic programming languages such as JavaScript,
Python and PHP, the semantics of the XPath expression</t>

<figure><artwork><![CDATA[
/store/book[1]/title
]]></artwork></figure>

<t>can be realized in the expression</t>

<figure><artwork><![CDATA[
x.store.book[0].title
]]></artwork></figure>

<t>or, in bracket notation,</t>

<figure><artwork><![CDATA[
x['store']['book'][0]['title']
]]></artwork></figure>

<t>with the variable x holding the argument.</t>

<t>The JSONPath language was designed to:</t>

<t><list style="symbols">
  <t>be naturally based on those language characteristics;</t>
  <t>cover only the most essential parts of XPath 1.0;</t>
  <t>be lightweight in code size and memory consumption;</t>
  <t>be runtime efficient.</t>
</list></t>

<section anchor="xpath-overview"><name>JSONPath and XPath</name>

<t>JSONPath expressions apply to JSON values in the same way
as XPath expressions are used in combination with an XML document.
JSONPath uses <spanx style="verb">$</spanx> to refer to the root node of the argument, similar
to XPath's <spanx style="verb">/</spanx> at the front.</t>

<t>JSONPath expressions move further down the hierarchy using <em>dot notation</em>
(<spanx style="verb">$.store.book[0].title</spanx>)
or the <em>bracket notation</em>
(<spanx style="verb">$['store']['book'][0]['title']</spanx>), a lightweight/limited, and a more
heavyweight syntax replacing XPath's <spanx style="verb">/</spanx> within query expressions.</t>

<t>Both JSONPath and XPath use <spanx style="verb">*</spanx> for a wildcard.
The descendant operators, starting with <spanx style="verb">..</spanx>, borrowed from <xref target="E4X"/>, are similar to XPath's <spanx style="verb">//</spanx>.
The array slicing construct <spanx style="verb">[start:end:step]</spanx> is unique to JSONPath,
inspired by <xref target="SLICE"/> from ECMASCRIPT 4.</t>

<t>Filter expressions are supported via the syntax <spanx style="verb">?(&lt;boolean expr&gt;)</spanx> as in</t>

<figure><artwork><![CDATA[
$.store.book[?(@.price < 10)].title
]]></artwork></figure>

<t><xref target="tbl-xpath-overview"/> extends <xref target="tbl-overview"/> by providing a comparison
with similar XPath concepts.</t>

<texttable title="XPath syntax compared to JSONPath" anchor="tbl-xpath-overview">
      <ttcol align='left'>XPath</ttcol>
      <ttcol align='left'>JSONPath</ttcol>
      <ttcol align='left'>Description</ttcol>
      <c><spanx style="verb">/</spanx></c>
      <c><spanx style="verb">$</spanx></c>
      <c>the root XML element</c>
      <c><spanx style="verb">.</spanx></c>
      <c><spanx style="verb">@</spanx></c>
      <c>the current XML element</c>
      <c><spanx style="verb">/</spanx></c>
      <c><spanx style="verb">.</spanx> or <spanx style="verb">[]</spanx></c>
      <c>child operator</c>
      <c><spanx style="verb">..</spanx></c>
      <c>n/a</c>
      <c>parent operator</c>
      <c><spanx style="verb">//</spanx></c>
      <c><spanx style="verb">..name</spanx>, <spanx style="verb">..[index]</spanx>, <spanx style="verb">..*</spanx>, or <spanx style="verb">..[*]</spanx></c>
      <c>descendants (JSONPath borrows this syntax from E4X)</c>
      <c><spanx style="verb">*</spanx></c>
      <c><spanx style="verb">*</spanx></c>
      <c>wildcard: All XML elements regardless of their names</c>
      <c><spanx style="verb">@</spanx></c>
      <c>n/a</c>
      <c>attribute access: JSON values do not have attributes</c>
      <c><spanx style="verb">[]</spanx></c>
      <c><spanx style="verb">[]</spanx></c>
      <c>subscript operator used to iterate over XML element collections and for predicates</c>
      <c><spanx style="verb">¦</spanx></c>
      <c><spanx style="verb">[,]</spanx></c>
      <c>Union operator (results in a combination of node sets); called list operator in JSONPath, allows combining member names, array indices, and slices</c>
      <c>n/a</c>
      <c><spanx style="verb">[start:end:step]</spanx></c>
      <c>array slice operator borrowed from ES4</c>
      <c><spanx style="verb">[]</spanx></c>
      <c><spanx style="verb">?()</spanx></c>
      <c>applies a filter (script) expression</c>
      <c>seamless</c>
      <c>n/a</c>
      <c>expression engine</c>
      <c><spanx style="verb">()</spanx></c>
      <c>n/a</c>
      <c>grouping</c>
</texttable>

<!-- note that the weirdness about the vertical bar above is intentional -->

<t>For further illustration, <xref target="tbl-xpath-equivalents"/> shows some XPath expressions
and their JSONPath equivalents.</t>

<texttable title="Example XPath expressions and their JSONPath equivalents" anchor="tbl-xpath-equivalents">
      <ttcol align='left'>XPath</ttcol>
      <ttcol align='left'>JSONPath</ttcol>
      <ttcol align='left'>Result</ttcol>
      <c><spanx style="verb">/store/book/author</spanx></c>
      <c><spanx style="verb">$.store.book[*].author</spanx></c>
      <c>the authors of all books in the store</c>
      <c><spanx style="verb">//author</spanx></c>
      <c><spanx style="verb">$..author</spanx></c>
      <c>all authors</c>
      <c><spanx style="verb">/store/*</spanx></c>
      <c><spanx style="verb">$.store.*</spanx></c>
      <c>all things in store, which are some books and a red bicycle</c>
      <c><spanx style="verb">/store//price</spanx></c>
      <c><spanx style="verb">$.store..price</spanx></c>
      <c>the prices of everything in the store</c>
      <c><spanx style="verb">//book[3]</spanx></c>
      <c><spanx style="verb">$..book[2]</spanx></c>
      <c>the third book</c>
      <c><spanx style="verb">//book[last()]</spanx></c>
      <c><spanx style="verb">$..book[-1]</spanx></c>
      <c>the last book in order</c>
      <c><spanx style="verb">//book[position()&lt;3]</spanx></c>
      <c><spanx style="verb">$..book[0,1]</spanx><br /><spanx style="verb">$..book[:2]</spanx></c>
      <c>the first two books</c>
      <c><spanx style="verb">//book[isbn]</spanx></c>
      <c><spanx style="verb">$..book[?(@.isbn)]</spanx></c>
      <c>filter all books with isbn number</c>
      <c><spanx style="verb">//book[price&lt;10]</spanx></c>
      <c><spanx style="verb">$..book[?(@.price&lt;10)]</spanx></c>
      <c>filter all books cheaper than 10</c>
      <c><spanx style="verb">//*</spanx></c>
      <c><spanx style="verb">$..*</spanx></c>
      <c>all elements in XML document; all member values and array elements contained in input value</c>
</texttable>

<t>XPath has a lot more functionality (location paths in unabbreviated syntax,
operators and functions) than listed in this comparison.  Moreover, there are
significant differences in how the subscript operator works in XPath and
JSONPath:</t>

<t><list style="symbols">
  <t>Square brackets in XPath expressions always operate on the <em>node
set</em> resulting from the previous path fragment. Indices always start
at 1.</t>
  <t>With JSONPath, square brackets operate on the <em>object</em> or <em>array</em>
addressed by the previous path fragment. Array indices always start
at 0.</t>
</list></t>

</section>
</section>
<section anchor="json-pointer"><name>JSON Pointer</name>

<t>This appendix is informative.</t>

<t>JSONPath is not intended as a replacement for, but as a more powerful
companion to, JSON Pointer <xref target="RFC6901"/>. The purposes of the two standards
are different.</t>

<t>JSON Pointer is for identifying a single value within a JSON value whose
structure is known.</t>

<t>JSONPath can identify a single value within a JSON value, for example by
using a Normalized Path. But JSONPath is also a query syntax that can be used
to search for and extract multiple values from JSON values whose structure
is known only in a general way.</t>

<t>A Normalized JSONPath can be converted into a JSON Pointer by converting the syntax,
without knowledge of any JSON value. The inverse is not generally true: a numeric
path component in a JSON Pointer may identify a member value of an object or an element of an array.
For conversion to a JSONPath query, knowledge of the structure of the JSON value is
needed to distinguish these cases.</t>

</section>
<section numbered="no" anchor="acknowledgements"><name>Acknowledgements</name>

<t>This document is based on <contact fullname="Stefan Gössner"/>'s
original online article defining JSONPath <xref target="JSONPath-orig"/>.</t>

<t>The books example was taken from
http://coli.lili.uni-bielefeld.de/~andreas/Seminare/sommer02/books.xml
— a dead link now.</t>

<!--  LocalWords:  JSONPath XPath nodelist
 -->

</section>

    <section anchor="contributors" numbered="false" toc="include" removeInRFC="false">
        <name>Contributors</name>
    <contact initials="M." surname="Mikulicic" fullname="Marko Mikulicic">
      <organization>InfluxData, Inc.</organization>
      <address>
        <postal>
          <city>Pisa</city>
          <country>IT</country>
        </postal>
        <email>mmikulicic@gmail.com</email>
      </address>
    </contact>
    <contact initials="E." surname="Surov" fullname="Edward Surov">
      <organization>TheSoul Publishing Ltd.</organization>
      <address>
        <postal>
          <city>Limassol</city>
          <country>Cyprus</country>
        </postal>
        <email>esurov.tsp@gmail.com</email>
      </address>
    </contact>
    <contact initials="G." surname="Dennis" fullname="Greg Dennis">
      <organization></organization>
      <address>
        <postal>
          <city>Auckland</city>
          <country>New Zealand</country>
        </postal>
        <email>gregsdennis@yahoo.com</email>
        <uri>https://github.com/gregsdennis</uri>
      </address>
    </contact>
    </section>

  </back>

<!-- ##markdown-source:
H4sIAAAAAAAAA92923rbRtYgeo+nqDDpFqkmKVEHH+RDLEtyot627LaUjv9f
1g5BEpQQUQAbACUrkuabh5j7mYv5/st9OQ/Q/5vMk+x1qhM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