What's JSONPath?
JSONPath is a search language similar to XPath for XML, which is used for JSON Positioning, filtering and extracting data in structures. It was introduced in 2007 by Stefan Gössner and has now become a complex JSON Standard industry approach to data. Whether to parse API response, process large configuration files, or do data grabs, JSONPath It's a very simple operation.
JSONPath Basic Syntax:
- $: This is the root node (Root).
- ... or Access to subnodes.
- *: wildcards, match all elements.
- ..: deep scan, recursively search for matching fields.
- [?(expression)]: Filter expression that supports filtering data according to conditions (e.g. age, price, etc.).
- @: In the filter expression, you indicate the node of the current processing.
Why this extraction tool?
1.
Real time feedback:
Enter the expression to see the extraction results while you are at the same time, significantly reducing the debugging time.
2.
Internal formatting:
Automatically beautifully enters the JSON data, which allows the hierarchy to be clearly identified.
3.
Local processing:
Your data are processed entirely at the browser end and are not uploaded to any server to ensure business data and privacy security.
4.
Examples frequently used:
Various common matching models have been pre-set to help beginners move quickly.