JavaScript Object Notation (JSON) Path
draft-normington-jsonpath-00

Document Type Active Internet-Draft (jsonpath WG)
Authors Glyn Normington  , Edward Surov  , Marko Mikulicic  , Stefan Gössner 
Last updated 2020-12-22 (latest revision 2020-12-07)
Replaces draft-goessner-dispatch-jsonpath
Stream IETF
Intended RFC status (None)
Formats plain text pdf htmlized (tools) htmlized bibtex
Stream WG state Adopted by a WG
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
JSONPath WG                                           G. Normington, Ed.
Internet-Draft                                              VMware, Inc.
Intended status: Standards Track                           E. Surov, Ed.
Expires: 10 June 2021                            TheSoul Publishing Ltd.
                                                            M. Mikulicic
                                                            VMware, Inc.
                                                              S. Gössner
                                                 Fachhochschule Dortmund
                                                         7 December 2020

                 JavaScript Object Notation (JSON) Path
                      draft-normington-jsonpath-00

Abstract

   JSONPath defines a string syntax for identifying values within a
   JavaScript Object Notation (JSON) document.

Note

   *This document is a work in progress and has not yet been published
   as an Internet Draft* (which needs to be fixed soon).

Contributing

   This document picks up the popular JSONPath specification dated
   2007-02-21 and provides a normative definition for it.  In its
   current state, it is a strawman document showing what needs to be
   covered.

   Comments and issues can be directed at the github repository _insert
   repo here_ as well as (for the time when the more permanent home is
   being decided) at the dispatch@ietf.org mailing list.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

Normington, et al.        Expires 10 June 2021                  [Page 1]
Internet-Draft                  JSONPath                   December 2020

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 10 June 2021.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  Inspired by XPath . . . . . . . . . . . . . . . . . . . .   4
     1.3.  Overview of JSONPath Expressions  . . . . . . . . . . . .   5
   2.  JSONPath Examples . . . . . . . . . . . . . . . . . . . . . .   7
   3.  JSONPath Syntax and Semantics . . . . . . . . . . . . . . . .  10
     3.1.  Overview  . . . . . . . . . . . . . . . . . . . . . . . .  10
     3.2.  Terminology . . . . . . . . . . . . . . . . . . . . . . .  10
     3.3.  Implementation  . . . . . . . . . . . . . . . . . . . . .  10
     3.4.  Syntax  . . . . . . . . . . . . . . . . . . . . . . . . .  11
     3.5.  Semantics . . . . . . . . . . . . . . . . . . . . . . . .  11
     3.6.  Selectors . . . . . . . . . . . . . . . . . . . . . . . .  12
       3.6.1.  Dot Child Selector  . . . . . . . . . . . . . . . . .  12
       3.6.2.  Union Selector  . . . . . . . . . . . . . . . . . . .  13
         3.6.2.1.  Syntax  . . . . . . . . . . . . . . . . . . . . .  13
         3.6.2.2.  Semantics . . . . . . . . . . . . . . . . . . . .  13
         3.6.2.3.  Child . . . . . . . . . . . . . . . . . . . . . .  13
         3.6.2.4.  Array Selector  . . . . . . . . . . . . . . . . .  15
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  19
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  19
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  19
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .  19
     6.2.  Informative References  . . . . . . . . . . . . . . . . .  19
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .  20
   Contributors  . . . . . . . . . . . . . . . . . . . . . . . . . .  20

Normington, et al.        Expires 10 June 2021                  [Page 2]
Internet-Draft                  JSONPath                   December 2020
Show full document text