Back to tools
Data Processingpublic tool

JSON Path

Pull values out of a JSON document with a path expression — dot keys, array indexes, * wildcards, and ** recursive descent.

Path
store.book[*].price
Matches
3
Steps
4
Local
100% browser

Path expression

.store.book[*].price

Examples

Input document

The JSON being queried

Matches

3 matches

  • $.store.book[0].price8.95
  • $.store.book[1].price12.99
  • $.store.book[2].price8.99

Copy all as JSON

Array of { path, value } pairs

[
  {
    "path": "$.store.book[0].price",
    "value": 8.95
  },
  {
    "path": "$.store.book[1].price",
    "value": 12.99
  },
  {
    "path": "$.store.book[2].price",
    "value": 8.99
  }
]