JSONPath Tester

Test and evaluate JSONPath expressions against JSON data.

JSON Input
Examples:All AuthorsBooks under 10Third BookLast BookBooks with ISBN
Evaluation Result

Usage Guide

  • Enter JSON data and a JSONPath expression
  • Evaluate to see the query result
  • Use standard JSONPath syntax (e.g., $.store.book[*])
  • Click examples to load common patterns

JSONPath Knowledge

JSONPath is a query language for JSON, similar to XPath for XML.

Basic Syntax

$ : Root object @ : Current object . : Child operator [] : Subscript operator * : Wildcard

Filters

[?(<expression>)] : Filter expression. Example: [?(@.price < 10)]

Key Features

  • Extract data from complex JSON
  • Filter arrays based on conditions
  • Traverse nested structures

Applications

  • Data extraction
  • API testing
  • Configuration validation