Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

JSON pointers

JSON pointers provide a general way for you to access elements of a directory's JSON value.

For example, given the JSON document:

{
  "a": 1,
  "b": {
    "c": "str1",
    "d": 3.14,
    "e": [
      1,
      2,
      "str2"
    ]
  }
}

you can access any element with a pointer:

JSON pointervalue
"/a"1
"/b"{"c": "str1", "d": 3.14}
"/b/c""str1"
"/b/d"3.14
"/b/e"[1, 2, "str2"]
"/b/e/0"1
"/b/e/1"2
"/b/e/2""str2"

Read the JSON pointer specification for more details.


Development of row is led by the Glotzer Group at the University of Michigan.

Copyright © 2024-2025 The Regents of the University of Michigan.