<?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.27 (Ruby 2.6.10) -->


<!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-13" 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>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>Functions are referred to using the function name followed by a pair
of parentheses, as in <spanx style="verb">fname()</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 constituents 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>Query Argument:</dt>
  <dd>
    <t>Short name for the value a JSONPath expression is applied to.
(Also used for actual parameters of function-expressions.)</t>
  </dd>
  <dt>Location:</dt>
  <dd>
    <t>the position of a value within the query argument. This can be thought of
as a sequence of names and indexes navigating to the value through
the objects and arrays in the query argument, with the empty sequence
indicating the query 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 query argument.</t>
  </dd>
  <dt>Root Node:</dt>
  <dd>
    <t>The unique node whose value is the entire query argument.</t>
  </dd>
  <dt>Root Node Identifier:</dt>
  <dd>
    <t>The expression <spanx style="verb">$</spanx> which refers to the root node of the query 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>Parameter:</dt>
  <dd>
    <t>Formal parameter (of a function) that can take a function argument
(an actual parameter) in a function-expression.</t>
  </dd>
  <dt>Normalized Path:</dt>
  <dd>
    <t>A form of JSONPath expression that identifies a node in a value by
providing a query that results in exactly that node.  Each node in a
query argument is identified by exactly one Normalized Path (we say, the
Normalized Path is "unique" for that node), and, to be a Normalized
Path for a specific query argument, the Normalized Path needs to identify
exactly one 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 Query:</dt>
  <dd>
    <t>A JSONPath expression built from segments each of which, regardless of the input value,
produces a nodelist containing at most one node.</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 query 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
query argument as a nodelist (a list of nodes).</t>

<t>Nodes are the selectable parts of the query 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.
Thus, 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 is based on <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>

<t>The term <em>JSONPath</em> was chosen because of the XPath inspiration and also because
the outcome of a query consists of <em>paths</em> identifying nodes in the
JSON query argument.</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-selector"/>,
<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 query 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 query argument,
i.e., to the argument as a whole.</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 (<xref target="filter-selector"/>).</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><sourcecode type="JSONPath"><![CDATA[
$['store']['book'][0]['title']
]]></sourcecode></figure>

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

<figure><sourcecode type="JSONPath"><![CDATA[
$.store.book[0].title
]]></sourcecode></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 name selector, e.g. <spanx style="verb">'name'</spanx>, selects a named child of an object.</t>

<t>An index selector, e.g. <spanx style="verb">3</spanx>, selects an indexed child of an array.</t>

<t>A wildcard <spanx style="verb">*</spanx> (<xref target="wildcard-selector"/>) 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;logical-expr&gt;</spanx> select certain children of an object or array, as in:</t>

<figure><sourcecode type="JSONPath"><![CDATA[
$.store.book[?@.price < 10].title
]]></sourcecode></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;logical-expr&gt;</spanx></c>
      <c><xref target="filter-selector">filter selector</xref>: selects particular children using a logical 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 the 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 <em>expression</em> is a string which, when applied to a JSON value,
the <em>query 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 <em>well typed</em>,
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 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 query argument,
followed by a possibly empty sequence of <em>segments</em>.</t>

<figure><sourcecode type="abnf"><![CDATA[
jsonpath-query      = 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.  This document may describe semantics in a procedural
step-by-step fashion, but such descriptions are normative only in the sense that any implementation <bcp14>MUST</bcp14> produce an identical result, but not in the sense that implementors are required to use the same algorithms.</t>

<t>The semantics are that a valid query is executed against a value,
the <em>query 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 nodelists.</t>

<t>The nodelist resulting from the root identifier contains a single node,
the query 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: 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 in the order of the input
nodelist they were derived from 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>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>

</section>
<section anchor="example"><name>Example</name>

<t>Consider this example. With the query 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 query 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>

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

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

<t>Every JSONPath query (except those inside filter expressions, see <xref target="filter-selector"/>) <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 query 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><sourcecode type="json"><![CDATA[
{"k": "v"}
]]></sourcecode></figure>

<t>Queries:</t>

<texttable title="Root identifier examples" anchor="tbl-root">
      <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  /
                      wildcard-selector /
                      slice-selector /
                      index-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 /                      ; see RFC 8259
                         ; omit 0x22 "
                      %x23-26 /
                         ; omit 0x27 '
                      %x28-5B /
                         ; omit 0x5C \
                      %x5D-10FFFF

escapable           = %x62 / ; b BS backspace U+0008
                      %x66 / ; f FF form feed U+000C
                      %x6E / ; n LF line feed U+000A
                      %x72 / ; r CR carriage return U+000D
                      %x74 / ; t HT horizontal tab U+0009
                      "/"  / ; / 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"/>).
No attempt was made to improve on this syntax, so if it is desired to
escape characters with
scalar values above 0xFFFF, such as <u format="num-lit-name">🤔</u>,
they need to be represented
by a pair of surrogate escapes (<spanx style="verb">"\uD83E\uDD14"</spanx> in this case).</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 <spanx style="verb">M</spanx> by removing the surrounding quotes and
replacing each escape sequence with its equivalent Unicode character, as
shown in <xref target="tbl-esc"/>:</t>

<texttable title="Escape Sequence Replacements" anchor="tbl-esc">
      <ttcol align='center'>Escape Sequence</ttcol>
      <ttcol align='center'>Unicode Character</ttcol>
      <ttcol align='left'>Description</ttcol>
      <c><spanx style="verb">\b</spanx></c>
      <c>U+0008</c>
      <c>BS backspace</c>
      <c><spanx style="verb">\t</spanx></c>
      <c>U+0009</c>
      <c>HT horizontal tab</c>
      <c><spanx style="verb">\n</spanx></c>
      <c>U+000A</c>
      <c>LF line feed</c>
      <c><spanx style="verb">\f</spanx></c>
      <c>U+000C</c>
      <c>FF form feed</c>
      <c><spanx style="verb">\r</spanx></c>
      <c>U+000D</c>
      <c>CR carriage return</c>
      <c><spanx style="verb">\"</spanx></c>
      <c>U+0022</c>
      <c>quotation mark</c>
      <c><spanx style="verb">\'</spanx></c>
      <c>U+0027</c>
      <c>apostrophe</c>
      <c><spanx style="verb">\/</spanx></c>
      <c>U+002F</c>
      <c>slash (solidus)</c>
      <c><spanx style="verb">\\</spanx></c>
      <c>U+005C</c>
      <c>backslash (reverse solidus)</c>
      <c><spanx style="verb">\uXXXX</spanx></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 <spanx style="verb">M</spanx>,
or selects nothing if there is no such member value.
Nothing is selected from a value that is not an object.</t>

<t>Note: processing the name selector requires comparing the member name string <spanx style="verb">M</spanx>
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 <spanx style="verb">M</spanx> 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><sourcecode type="json"><![CDATA[
{
  "o": {"j j": {"k.k": 3}},
  "'": {"@": 2}
}
]]></sourcecode></figure>

<t>Queries:</t>

<t>The examples in <xref target="tbl-name"/> show the name selector in use by child segments:</t>

<texttable title="Name selector examples" anchor="tbl-name">
      <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-selector"><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-selector   = "*"
]]></sourcecode></figure>

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

<t>A wildcard 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 wildcard 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><sourcecode type="json"><![CDATA[
{
  "o": {"j": 1, "k": 2},
  "a": [5, 3]
}
]]></sourcecode></figure>

<t>Queries:</t>

<t>The examples in <xref target="tbl-wild"/> show the wildcard selector in use by a child segment:</t>

<texttable title="Wildcard selector examples" anchor="tbl-wild">
      <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 fewer than two members or to array nodes).</t>

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

<section 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>To be valid, the index selector value <bcp14>MUST</bcp14> be in the I-JSON
range of exact values, see <xref target="synsem-overview"/>.</t>

<t>Notes:</t>

<t><list style="symbols">
  <t>An <spanx style="verb">index-selector</spanx> is an integer (in base 10, as in JSON numbers).</t>
  <t>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>
</list></t>

</section>
<section 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 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><sourcecode type="json"><![CDATA[
["a","b"]
]]></sourcecode></figure>

<t>Queries:</t>

<t>The examples in <xref target="tbl-index"/> show the index selector in use by a child segment.</t>

<texttable title="Index selector examples" anchor="tbl-index">
      <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 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

]]></sourcecode></figure>

<t>The slice selector consists of three optional decimal integers separated by colons.
The second colon can be omitted when the third integer is.</t>

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

</section>
<section 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="normative-semantics"><name>Normative 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. In the rest of this section, <spanx style="verb">len</spanx> denotes 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 shown in <xref target="tbl-slice-start-end"/>:</t>

<texttable title="Default array slice start and end values" anchor="tbl-slice-start-end">
      <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><sourcecode type="pseudocode"><![CDATA[
FUNCTION Normalize(i, len):
  IF i >= 0 THEN
    RETURN i
  ELSE
    RETURN len + i
  END IF
]]></sourcecode></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 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><sourcecode type="pseudocode"><![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)
]]></sourcecode></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><sourcecode type="pseudocode"><![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
]]></sourcecode></figure>

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

</section>
</section>
<section anchor="examples-4"><name>Examples</name>

<t>JSON:</t>

<figure><sourcecode type="json"><![CDATA[
["a", "b", "c", "d", "e", "f", "g"]
]]></sourcecode></figure>

<t>Queries:</t>

<t>The examples in <xref target="tbl-slice"/> show the array slice selector in use by a child segment:</t>

<texttable title="Array slice selector examples" anchor="tbl-slice">
      <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">$[5:]</spanx></c>
      <c><spanx style="verb">"f"</spanx> <br /> <spanx style="verb">"g"</spanx></c>
      <c><spanx style="verb">$[5]</spanx> <br /> <spanx style="verb">$[6]</spanx></c>
      <c>Slice with no end index</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>

<t>Filter selectors are used to iterate over the elements or members of
structured values, i.e., JSON arrays and objects.
The structured values are identified in the nodelist offered by the
child or descendant segment using the filter selector.</t>

<t>For each iteration (element/member), a logical expression, the <em>filter expression</em>,
is evaluated which decides whether the node of
the element/member is selected.
(While a logical expression evaluates to what mathematically is a
Boolean value, this specification uses the term <em>logical</em> to maintain a distinction from
the Boolean values that JSON can represent.)</t>

<t>During the iteration process, the filter expression receives the node
of each array element or object member value of the structured value being
filtered; this element or member value is then known as the <em>current node</em>.</t>

<t>The current node can be used as the start of one or more JSONPath
queries in subexpressions of the filter expression, notated
via the current-node-identifier <spanx style="verb">@</spanx>.
Each JSONPath query can be used either for testing existence of a
result of the query, for obtaining a specific JSON value resulting
from that query that can then be used in a comparison, or as a
<em>function argument</em>.</t>

<t>Filter selectors may use function extensions, which are covered in <xref target="fnex"/>.
Within the logical expression for a filter selector, function
expressions can be used to operate on nodelists and values.
The set of available functions is extensible, with a number of
functions predefined, see <xref target="fnex"/>, and the ability to register further
functions provided by the Function Extensions sub-registry (<xref target="iana-fnex"/>).
When a function is defined, it is given a unique name, and its return value and each of its parameters is given a
<em>declared type</em>.
The type system is limited in scope; its purpose is to express
restrictions that, without functions, are implicit in the grammar of
filter expressions.
The type system also guides conversions (<xref target="type-conv"/>) that mimic the
way different kinds of expressions are handled in the grammar when
function expressions are not in use.</t>

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

<t>The filter selector has the form <spanx style="verb">?&lt;logical-expr&gt;</spanx>.</t>

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

<t>As the filter expression is composed of side-effect free constituents,
the order of evaluation does not need to be (and is not) defined.
Similarly, for conjunction (<spanx style="verb">&amp;&amp;</spanx>) and disjunction (<spanx style="verb">||</spanx>) (defined later),
both a short-circuiting and a fully evaluating
implementation will lead to the same result; both implementation
strategies are therefore valid.</t>

<t>The current node is accessible via the current node identifier <spanx style="verb">@</spanx>.
This identifier addresses the current node of the filter-selector that
is directly enclosing the identifier. Note: within nested
filter-selectors, there is no syntax to address the current node of
any other than the directly enclosing filter-selector (i.e., of
filter-selectors enclosing the filter-selector that is directly
enclosing the identifier).</t>

<t>Logical expressions offer the usual Boolean operators (<spanx style="verb">||</spanx> for OR,
<spanx style="verb">&amp;&amp;</spanx> for AND, and <spanx style="verb">!</spanx> for NOT).
They have the normal semantics of Boolean algebra and obey its laws
(see, for example, <xref target="BOOLEAN-LAWS"/>).
Parentheses <bcp14>MAY</bcp14> be used within <spanx style="verb">logical-expr</spanx> for grouping.</t>

<figure><sourcecode type="abnf"><![CDATA[
logical-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 /
                      comparison-expr /
                      test-expr

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

<t>A test expression
either tests the existence of a node
designated by an embedded query (see <xref target="extest"/>) or tests the
result of a function expression (see <xref target="fnex"/>).
In the latter case, if the function's declared result type is
<spanx style="verb">LogicalType</spanx> (see <xref target="typesys"/>), it tests whether the result
is <spanx style="verb">LogicalTrue</spanx>; if the function's declared result type is
<spanx style="verb">NodesType</spanx>, it tests whether the result is non-empty.
If the function's declared result type is <spanx style="verb">ValueType</spanx>, its use in a
test expression is not well typed (see <xref target="well-typedness"/>).</t>

<figure><sourcecode type="abnf"><![CDATA[
test-expr           = [logical-not-op S]
                     (filter-query / ; existence/non-existence
                      function-expr) ; LogicalType or
                                     ; NodesType
filter-query        = rel-query / jsonpath-query
rel-query           = current-node-identifier segments
current-node-identifier = "@"
]]></sourcecode></figure>

<t>Comparison expressions are available for comparisons between 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 obtained via literal values; singular queries, each of
which selects at most one node the value of which is then used; or
function expressions (see <xref target="fnex"/>) of type <spanx style="verb">ValueType</spanx>.</t>

<figure><sourcecode type="abnf"><![CDATA[
comparison-expr     = comparable S comparison-op S comparable
literal             = number / string-literal /
                      true / false / null
comparable          = literal /
                      singular-query / ; singular query value
                      function-expr    ; ValueType
comparison-op       = "==" / "!=" /
                      "<=" / ">=" /
                      "<"  / ">"

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

<t>Literals can be notated in the way that is usual for JSON (with the
extension that strings can use single-quote delimiters).
Alphabetic characters in ABNF are case-insensitive, so within a
floating point number the ABNF expression "e" can be either the value
'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><xref target="tbl-prec"/> 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" anchor="tbl-prec">
      <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 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 selects nothing.</t>

<t>In the resultant nodelist, children of an array are ordered by their position in the array.
The order in which the children of an object (as opposed to an array)
appear in the resultant nodelist is not stipulated,
since JSON objects are unordered.</t>

<section anchor="extest"><name>Existence Tests</name>

<t>A query by itself in a logical context is an existence test which yields true if the query selects at least one node and yields false if the query 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 queries (not just singular queries).</t>
  <t>they work with queries that select structured values.</t>
</list></t>

<t>To examine the value of a node selected by a query, an explicit comparison is necessary.
For example, to test whether the node selected by the query <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 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 either side of a comparison results in an empty nodelist or <spanx style="verb">Nothing</spanx> (see <xref target="typesys"/>):</t>

<t><list style="symbols">
  <t>a comparison using the operator <spanx style="verb">==</spanx> yields true if and only the other side also results in an empty nodelist or <spanx style="verb">Nothing</spanx>.</t>
  <t>a comparison using the operator <spanx style="verb">&lt;</spanx> yields false.</t>
</list></t>

<t>When any query or function expression on either side of a comparison results in a nodelist consisting of a single node, that side 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>numbers expected to interoperate as per <xref section="2.2" sectionFormat="of" target="RFC7493">I-JSON</xref> that compare equal using normal mathematical equality,</t>
      <t>numbers at least one of which is not expected to interoperate as per I-JSON, where the numbers compare equal using an implementation specific equality,</t>
      <t>equal primitive values which are not numbers,</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><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>
<section 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><sourcecode type="json"><![CDATA[
{
  "obj": {"x": "y"},
  "arr": [2, 3]
}
]]></sourcecode></figure>

<t>Comparisons:</t>

<texttable title="Comparison examples" anchor="tbl-comparison">
      <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: 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><sourcecode type="json"><![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"
}
]]></sourcecode></figure>

<t>Queries:</t>

<t>The examples in <xref target="tbl-filter"/> show the filter selector in use by a child segment:</t>

<texttable title="Filter selector examples" anchor="tbl-filter">
      <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 queries</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> <br /> <spanx style="verb">$['a'][5]</spanx></c>
      <c>Comparison of queries with no values</c>
      <c><spanx style="verb">$.a[?(@ == @)]</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> <br /> <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'][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> <br /><spanx style="verb">$['a'][5]</spanx> <br /><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>Comparisons of primitive and of structured values</c>
</texttable>

<t>The example above with the query <spanx style="verb">$.o[?@&lt;3, ?@&lt;3]</spanx> shows that a 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>This section defines the extension point as well as some function
extensions that use this extension point.
While these mechanisms are designed to use the extension point,
they are an integral part of the JSONPath specification and are
expected to be implemented like any other integral part of this
specification.</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. Each registered function name is unique.</t>

<t>A function extension <bcp14>MUST</bcp14> be defined such that its evaluation is
side-effect free, i.e., all possible orders of evaluation and choices
of short-circuiting or full evaluation of an expression containing it
must lead to the same result.
(Note: memoization or logging are not side effects in this sense
as they are visible at the implementation level only — they do not
influence the result of the evaluation.)</t>

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

function-expr       = function-name "(" S [function-argument
                         *(S "," S function-argument)] S ")"
function-argument   = literal /
                      filter-query / ; (includes singular-query)
                      logical-expr /
                      function-expr
]]></sourcecode></figure>

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

<section anchor="typesys"><name>Type System for Function Expressions</name>

<t>Each parameter as well as the result of a function extension must have a declared type.</t>

<t>Declared types enable checking a JSONPath query for well-typedness
independent of any query argument the JSONPath query is applied to.</t>

<t><xref target="tbl-types"/> defines the available types in terms of the instances they contain.</t>

<texttable title="Function extension type system" anchor="tbl-types">
      <ttcol align='left'>Type</ttcol>
      <ttcol align='left'>Instances</ttcol>
      <c><spanx style="verb">ValueType</spanx></c>
      <c>JSON values or <spanx style="verb">Nothing</spanx></c>
      <c><spanx style="verb">LogicalType</spanx></c>
      <c><spanx style="verb">LogicalTrue</spanx> or <spanx style="verb">LogicalFalse</spanx></c>
      <c><spanx style="verb">NodesType</spanx></c>
      <c>Nodelists</c>
</texttable>

<t>Notes:</t>

<t><list style="symbols">
  <t>The only instances that can be directly represented in JSONPath syntax are certain JSON values
in <spanx style="verb">ValueType</spanx> expressed as literals (which, in JSONPath, are limited to primitive values).</t>
  <t><spanx style="verb">Nothing</spanx> represents the absence of a JSON value and is distinct from any JSON value, including <spanx style="verb">null</spanx>.</t>
  <t><spanx style="verb">LogicalTrue</spanx> and <spanx style="verb">LogicalFalse</spanx> are unrelated to the JSON values expressed by the
literals <spanx style="verb">true</spanx> and <spanx style="verb">false</spanx>.</t>
</list></t>

</section>
<section anchor="type-conv"><name>Type Conversion</name>

<t>Just as queries can be used in logical expressions by testing for the
existence of at least one node (<xref target="extest"/>), a function expression of
declared type <spanx style="verb">NodesType</spanx> can be used as a function argument for a
parameter of declared type <spanx style="verb">LogicalType</spanx>, with the equivalent conversion rule:</t>

<t><list style="symbols">
  <t>If the nodelist contains one or more nodes, the conversion result is <spanx style="verb">LogicalTrue</spanx>.</t>
  <t>If the nodelist is empty, the conversion result is <spanx style="verb">LogicalFalse</spanx>.</t>
</list></t>

<t>Notes:</t>

<t><list style="symbols">
  <t>Extraction of a value from a nodelist can be performed in several
ways, so an implicit conversion from <spanx style="verb">NodesType</spanx> to <spanx style="verb">ValueType</spanx>
may be surprising and has therefore not been defined.</t>
  <t>A function expression with a declared type of <spanx style="verb">NodesType</spanx> can
indirectly be used as an argument for a parameter of declared type
<spanx style="verb">ValueType</spanx> by wrapping the expression in a call to a function extension,
such as <spanx style="verb">value()</spanx> (see <xref target="value"/>),
that takes a parameter of type <spanx style="verb">NodesType</spanx> and returns a
result of type <spanx style="verb">ValueType</spanx>.</t>
</list></t>

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

</section>
<section anchor="well-typedness"><name>Well-Typedness of Function Expressions</name>

<t>For a function expression to be well typed:</t>

<t><list style="numbers">
  <t>its declared type must be well typed in the context in which it occurs, and</t>
  <t>its arguments must be well typed for the declared type of the corresponding parameters.</t>
</list></t>

<t>(1) As per the grammar, a function expression can occur in three different
immediate contexts, which lead to the following conditions for well-typedness:</t>

<dl newline="true">
  <dt>As a <spanx style="verb">test-expr</spanx> in a logical expression:</dt>
  <dd>
    <t>The function's declared result type is <spanx style="verb">LogicalType</spanx>, or
(giving rise to conversion as per <xref target="type-conv"/>) <spanx style="verb">NodesType</spanx>.</t>
  </dd>
  <dt>As a <spanx style="verb">comparable</spanx> in a comparison:</dt>
  <dd>
    <t>The function's declared result type is <spanx style="verb">ValueType</spanx>.</t>
  </dd>
  <dt>As a <spanx style="verb">function-argument</spanx> in another function expression:</dt>
  <dd>
    <t>The function's declared result type fulfills the following rules for
the corresponding parameter of the enclosing function.</t>
  </dd>
</dl>

<t>(2) The arguments of the function expression are well typed when
each argument of the function can be used for the declared type of the
corresponding parameter, according to one of the following
conditions:</t>

<t><list style="symbols">
  <t>When the argument is a function expression with declared result type the same as the
declared type of the parameter.</t>
  <t>When the declared type of the parameter is <spanx style="verb">LogicalType</spanx> and the argument is one of the following:
  <list style="symbols">
      <t>A function expression with declared result type <spanx style="verb">NodesType</spanx>.
In this case the argument is converted to LogicalType as per <xref target="type-conv"/>.</t>
      <t>A <spanx style="verb">logical-expr</spanx> that is not a function expression.</t>
    </list></t>
  <t>When the declared type of the parameter is <spanx style="verb">NodesType</spanx> and the argument is a query
(which includes singular query).</t>
  <t>When the declared type of the parameter is <spanx style="verb">ValueType</spanx> and the argument is one of the following:
  <list style="symbols">
      <t>A value expressed as a literal.</t>
      <t>A singular query. In this case:
      <list style="symbols">
          <t>If the query results in a nodelist consisting of a single node, the
argument is the value of the node.</t>
          <t>If the query results in an empty nodelist, the argument is Nothing.</t>
        </list></t>
    </list></t>
</list></t>

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

<dl>
  <dt>Parameters:</dt>
  <dd>
    <t><list style="numbers">
      <t><spanx style="verb">ValueType</spanx></t>
    </list></t>
  </dd>
  <dt>Result:</dt>
  <dd>
    <t><spanx style="verb">ValueType</spanx> (unsigned integer or <spanx style="verb">Nothing</spanx>)</t>
  </dd>
</dl>

<t>The <spanx style="verb">length()</spanx> 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 an instance of <spanx style="verb">ValueType</spanx> (possibly taken from a
singular query, as in the example above).  The result also is an
instance of <spanx style="verb">ValueType</spanx>: an unsigned integer or <spanx style="verb">Nothing</spanx>.</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 <spanx style="verb">Nothing</spanx>.</t>
</list></t>

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

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

<t>The <spanx style="verb">count()</spanx> 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: there is no deduplication of the nodelist.</t>

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

<dl>
  <dt>Parameters:</dt>
  <dd>
    <t><list style="numbers">
      <t><spanx style="verb">ValueType</spanx> (string)</t>
      <t><spanx style="verb">ValueType</spanx> (string conforming to <xref target="I-D.draft-ietf-jsonpath-iregexp"/>)</t>
    </list></t>
  </dd>
  <dt>Result:</dt>
  <dd>
    <t><spanx style="verb">LogicalType</spanx></t>
  </dd>
</dl>

<t>The <spanx style="verb">match()</spanx> 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 arguments are instances of <spanx style="verb">ValueType</spanx> (possibly taken from a
singular query, as for the first argument in the example above).
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"/>, the result is <spanx style="verb">LogicalFalse</spanx>.
Otherwise, the string that is the first argument is matched against
the iregexp contained in the string that is the second argument;
the result is <spanx style="verb">LogicalTrue</spanx> if the string matches the iregexp and
<spanx style="verb">LogicalFalse</spanx> otherwise.</t>

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

<dl>
  <dt>Parameters:</dt>
  <dd>
    <t><list style="numbers">
      <t><spanx style="verb">ValueType</spanx> (string)</t>
      <t><spanx style="verb">ValueType</spanx> (string conforming to <xref target="I-D.draft-ietf-jsonpath-iregexp"/>)</t>
    </list></t>
  </dd>
  <dt>Result:</dt>
  <dd>
    <t><spanx style="verb">LogicalType</spanx></t>
  </dd>
</dl>

<t>The <spanx style="verb">search()</spanx> 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>

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

<t>Its arguments are instances of <spanx style="verb">ValueType</spanx> (possibly taken from a
singular query, as for the first argument in the example above).
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"/>, the result is <spanx style="verb">LogicalFalse</spanx>.
Otherwise, the string that is the first argument 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">LogicalTrue</spanx> if such a
substring exists and <spanx style="verb">LogicalFalse</spanx> otherwise.</t>

</section>
<section anchor="value"><name><spanx style="verb">value()</spanx> Function Extension</name>

<dl>
  <dt>Parameters:</dt>
  <dd>
    <t><list style="numbers">
      <t><spanx style="verb">NodesType</spanx></t>
    </list></t>
  </dd>
  <dt>Result:</dt>
  <dd>
    <t><spanx style="verb">ValueType</spanx></t>
  </dd>
</dl>

<t>The <spanx style="verb">value()</spanx> function extension provides a way to convert an instance of <spanx style="verb">NodesType</spanx> to a value and
make that available for further processing in the filter expression:</t>

<figure><sourcecode type="JSONPath"><![CDATA[
$[?value(@..color) == "red"]
]]></sourcecode></figure>

<t>Its only argument is an instance of <spanx style="verb">NodesType</spanx> (possibly taken from a
<spanx style="verb">filter-query</spanx>, as in the example above).  The result is an
instance of <spanx style="verb">ValueType</spanx>.</t>

<t><list style="symbols">
  <t>If the argument contains a single node, the result is
the value of the node.</t>
  <t>If the argument is <spanx style="verb">Nothing</spanx> or contains multiple nodes, the
result is <spanx style="verb">Nothing</spanx>.</t>
</list></t>

<t>Note: a singular query may be used anywhere where a ValueType is expected,
so there is no need to use the <spanx style="verb">value()</spanx> function extension with a singular query.</t>

</section>
<section anchor="examples-6"><name>Examples</name>

<texttable title="Function expression examples" anchor="tbl-function-expr">
      <ttcol align='center'>Query</ttcol>
      <ttcol align='left'>Comment</ttcol>
      <c><spanx style="verb">$[?length(@) &lt; 3]</spanx></c>
      <c>well typed</c>
      <c><spanx style="verb">$[?length(@.*) &lt; 3]</spanx></c>
      <c>not well typed since <spanx style="verb">@.*</spanx> is a non-singular query</c>
      <c><spanx style="verb">$[?count(@.*) == 1]</spanx></c>
      <c>well typed</c>
      <c><spanx style="verb">$[?count(1) == 1]</spanx></c>
      <c>not well typed since <spanx style="verb">1</spanx> is not a query or function expression</c>
      <c><spanx style="verb">$[?count(foo(@.*)) == 1]</spanx></c>
      <c>well typed, where <spanx style="verb">foo()</spanx> is a function extension with a parameter of type <spanx style="verb">NodesType</spanx> and result type <spanx style="verb">NodesType</spanx></c>
      <c><spanx style="verb">$[?match(@.timezone, 'Europe/.*')]</spanx></c>
      <c>well typed</c>
      <c><spanx style="verb">$[?match(@.timezone, 'Europe/.*') == true]</spanx></c>
      <c>not well typed as <spanx style="verb">LogicalType</spanx> may not be used in comparisons</c>
      <c><spanx style="verb">$[?value(@..color) == "red"]</spanx></c>
      <c>well typed</c>
      <c><spanx style="verb">$[?value(@..color)]</spanx></c>
      <c>not well typed as <spanx style="verb">ValueType</spanx> may not be used in a test expression</c>
      <c><spanx style="verb">$[?bar(@.a)]</spanx></c>
      <c>well typed for any function <spanx style="verb">bar()</spanx> with a parameter of any declared type and result type <spanx style="verb">LogicalType</spanx></c>
      <c><spanx style="verb">$[?bnl(@.*)]</spanx></c>
      <c>well typed for any function <spanx style="verb">bnl()</spanx> with a parameter of declared type <spanx style="verb">NodesType</spanx> or <spanx style="verb">LogicalType</spanx> and result type <spanx style="verb">LogicalType</spanx></c>
      <c><spanx style="verb">$[?blt(1==1)]</spanx></c>
      <c>well typed, where <spanx style="verb">blt()</spanx> is a function with a parameter of declared type <spanx style="verb">LogicalType</spanx> and result type <spanx style="verb">LogicalType</spanx></c>
      <c><spanx style="verb">$[?blt(1)]</spanx></c>
      <c>not well typed for the same function <spanx style="verb">blt()</spanx>, as <spanx style="verb">1</spanx> is not a query, <spanx style="verb">logical-expr</spanx>, or function expression</c>
      <c><spanx style="verb">$[?bal(1)]</spanx></c>
      <c>well typed, where <spanx style="verb">bal()</spanx> is a function with a parameter of declared type <spanx style="verb">ValueType</spanx> and result type <spanx style="verb">LogicalType</spanx></c>
</texttable>

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

<t>For each node in an input nodelist,
segments apply one or more selectors to the node and concatenate the
results of each selector into per-input-node nodelists, which are then
concatenated in the order of the input nodelist to form a single
segment result 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       = bracketed-selection /
                      ("."
                       (wildcard-selector /
                        member-name-shorthand))

bracketed-selection = "[" S selector *(S "," S selector) S "]"

member-name-shorthand = 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><spanx style="verb">.*</spanx>, a <spanx style="verb">child-segment</spanx> directly built from a <spanx style="verb">wildcard-selector</spanx>, is
shorthand for <spanx style="verb">[*]</spanx>.</t>

<t><spanx style="verb">.&lt;member-name&gt;</spanx>, a <spanx style="verb">child-segment</spanx> built from a
 <spanx style="verb">member-name-shorthand</spanx>, is shorthand for <spanx style="verb">['&lt;member-name&gt;']</spanx>.
Note: this can only be used with member names that are composed of certain
characters, as specified in the ABNF rule <spanx style="verb">member-name-shorthand</spanx>.
Thus, for example, <spanx style="verb">$.foo.bar</spanx> is shorthand for <spanx style="verb">$['foo']['bar']</spanx> (but 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>For each node in the input nodelist,
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: 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><sourcecode type="json"><![CDATA[
["a", "b", "c", "d", "e", "f", "g"]
]]></sourcecode></figure>

<t>Queries:</t>

<texttable title="Child segment examples" anchor="tbl-child-segment">
      <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 (using bracket notation).</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  = ".." (bracketed-selection /
                            wildcard-selector /
                            member-name-shorthand)
]]></sourcecode></figure>

<t><spanx style="verb">..*</spanx>, the <spanx style="verb">descendant-segment</spanx> directly built from a
<spanx style="verb">wildcard-selector</spanx>, is shorthand for <spanx style="verb">..[*]</spanx>.</t>

<t><spanx style="verb">..&lt;member-name&gt;</spanx>, a <spanx style="verb">descendant-segment</spanx> built from a
<spanx style="verb">member-name-shorthand</spanx>, is shorthand for <spanx style="verb">..['&lt;member-name&gt;']</spanx>.
Note: as with the similar shorthand of a <spanx style="verb">child-segment</spanx>, this can
only be used with member names that are composed of certain
characters, as specified in the ABNF rule <spanx style="verb">member-name-shorthand</spanx>.</t>

<t>Note: <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 an input value.</t>

<t>For each node in the input nodelist,
a descendant selector visits the input node 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 descendant segment is of the form <spanx style="verb">..[&lt;selectors&gt;]</spanx> (after converting any shorthand
form to bracket notation)
and 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: <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>For each node in the input nodelist,
the result of the descendant segment is the concatenation of <spanx style="verb">R1</spanx>,
..., <spanx style="verb">Rn</spanx> (in that order).
These results are then concatenated in input nodelist order to form
the result of the segment.</t>

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

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

<t>JSON:</t>

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

<t>Queries:</t>

<texttable title="Descendant segment examples" anchor="tbl-descendant-segment">
      <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">$..[*]</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">{"k": 6}</spanx> <br /> <spanx style="verb">4</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][1]</spanx> <br /> <spanx style="verb">$['a'][2][0]['j']</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'][2][0]</spanx> <br /> <spanx style="verb">$['a'][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">{"k": 6}</spanx>,</t>
  <t><spanx style="verb">{"k": 6}</spanx> must appear before <spanx style="verb">4</spanx>, and</t>
  <t><spanx style="verb">4</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: 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><sourcecode type="json"><![CDATA[
{"a": null, "b": [null], "c": [{}], "null": 1}
]]></sourcecode></figure>

<t>Queries:</t>

<texttable title="Examples involving (or not involving) null" anchor="tbl-null-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</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 unique representation of the location of a node in a value which
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: 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 nodelist may be represented compactly in JSON as an array 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 in Normalized Paths 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 Normalized Paths, in one and only one way; all other
characters are unescaped.</t>

<t>Note: Normalized Paths are singular queries, but not all singular queries are Normalized Paths.
For example, <spanx style="verb">$[-3]</spanx> is a singular query, 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     =    ; omit %x0-1F control codes
                       %x20-26 /
                          ; omit 0x27 '
                       %x28-5B /
                          ; omit 0x5C \
                       %x5D-10FFFF
normal-escapable     = %x62 / ; b BS backspace U+0008
                       %x66 / ; f FF form feed U+000C
                       %x6E / ; n LF line feed U+000A
                       %x72 / ; r CR carriage return U+000D
                       %x74 / ; t HT horizontal tab U+0009
                       "'" /  ; ' 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"
                             ; omit U+0008-U+000A BS HT LF
                          ("0" %x62) /    ; "0b"
                             ; omit U+000C-U+000D FF CR
                          ("0" %x65-66) / ; "0e"-"0f"
                          ("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" anchor="tbl-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 sub-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>). No other entry in the sub-registry can have the
same function name.</t>
  </dd>
  <dt>Brief description:</dt>
  <dd>
    <t>a brief description</t>
  </dd>
  <dt>Parameters:</dt>
  <dd>
    <t>A comma-separated list of zero or more declared types, one for each of the
arguments expected for this function extension</t>
  </dd>
  <dt>Result:</dt>
  <dd>
    <t>The declared type 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"/>; the
Column "Change Controller" always has the value "IESG" and the column
"Reference" always has the value "<xref target="fnex"/> of RFCthis":</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'>Parameters</ttcol>
      <ttcol align='left'>Result</ttcol>
      <c>length</c>
      <c>length of string, array, object</c>
      <c><spanx style="verb">ValueType</spanx></c>
      <c><spanx style="verb">ValueType</spanx></c>
      <c>count</c>
      <c>size of nodelist</c>
      <c><spanx style="verb">NodesType</spanx></c>
      <c><spanx style="verb">ValueType</spanx></c>
      <c>match</c>
      <c>regular expression full match</c>
      <c><spanx style="verb">ValueType</spanx>, <spanx style="verb">ValueType</spanx></c>
      <c><spanx style="verb">LogicalType</spanx></c>
      <c>search</c>
      <c>regular expression substring match</c>
      <c><spanx style="verb">ValueType</spanx>, <spanx style="verb">ValueType</spanx></c>
      <c><spanx style="verb">LogicalType</spanx></c>
      <c>value</c>
      <c>value of single node in nodelist</c>
      <c><spanx style="verb">NodesType</spanx></c>
      <c><spanx style="verb">ValueType</spanx></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 query 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 a query 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 query 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'>
<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'>
<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'>
<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'>
<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'>
<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'>
<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'>
<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='31' month='March' year='2023'/>
      <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-04'/>
   
</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'>
<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'>
<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'>
<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'/>
</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'>
<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: 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><sourcecode type="xpath"><![CDATA[
/store/book[1]/title
]]></sourcecode></figure>

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

<figure><sourcecode type="xpath"><![CDATA[
x.store.book[0].title
]]></sourcecode></figure>

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

<figure><sourcecode type="xpath"><![CDATA[
x['store']['book'][0]['title']
]]></sourcecode></figure>

<t>with the variable x holding the query 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 query 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;logical-expr&gt;</spanx> as in</t>

<figure><sourcecode type="JSONPath"><![CDATA[
$.store.book[?@.price < 10].title
]]></sourcecode></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: 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 each of the nodes in the <em>nodelist</em>
resulting from the previous query segment. 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
reference token (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="false" 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 memoization
 -->

</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:
H4sIAMB1OmQAA+y92XYcR7Ig+O5f4UqpCglUZhKJhQu4iBAAllBDgrwEdaXb
EI8yMjMAhJiIyIqIBAgBmDMf0e/dD33u4zzOB9T9k/mC+YSxzbdYQFBL1Uvj
VFFARLi7ubm5uZm5Lf1+X51v6XWlptkkjc7iLT3No+Oyn8Tlcf/nIkvnUXna
H0dF3B+uq0lUbuminKpJlhZxWiyKLb1U5ot4SRWL8VlSFEmWlpdz6GZ/790L
pWZRerKl41TNky2ldZlNbAP6axrPy1N4tIF/F5dneXxceF8UWV5WHk2ys7M4
LeERPlFlUs5gtM7fDl8fvImwr39bxPmljj/O85jAKfRxlmt831HReJzHMF/z
tYryONrS22/fqYsT91h//1f14YL/VtOohAHWVtcASdGiPM3yLdUHQPIMB46n
SZnl8Ccj77CMj6NU//W//p+iSGN8nuXQ8YtocnqaTU6LyeliFutdmNbZIp3i
dJLycit4kE2hn93+xsZw/RGiABAQA9YPszQFjJd59F//I9aP7tOni7TMoflf
4/wsSi/hUXwWJTNcIgRjcJLFBMbz49P+VIYYTON28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