Skip to main content

JSON Query

Query and search through your JSON data using JSONPath expressions.

JSONPath expressions
Advanced querying
Real-time results

JSON Data

Ready

Query Results

Query Information

Matches: 0
Type: -

Basic Syntax

  • $ - Root element
  • .property - Child property
  • ['property'] - Bracket notation
  • [0] - Array index
  • [*] - All array elements
  • .. - Recursive descent

Common Examples

  • $.store.book[*].title
    All book titles
  • $..price
    All prices
  • $.store.book[?(@.price < 10)]
    Books under $10
  • $.store.book[-1:]
    Last book

Filter Expressions

  • ?(@.price > 10)
    Price greater than 10
  • ?(@.category == 'fiction')
    Category equals fiction
  • ?(@.isbn)
    Has ISBN property
  • ?(@.length > 5)
    Array length > 5

Related Tools