JSONPath: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
=Concepts= | =Concepts= | ||
==JSONPath Expression== | ==JSONPath Expression== | ||
A JSONPath expression specifies a [[JSON_Concepts#Path|path]] to an [[JSON_Concepts#Element|element]] or a set of elements that are part of a [[JSON_Concepts#JSON_Document|JSON document]]. | A JSONPath expression specifies a [[JSON_Concepts#Path|path]] to an [[JSON_Concepts#Element|element]] or a set of elements that are part of a [[JSON_Concepts#JSON_Document|JSON document]]. An expression can be assembled using the following syntax elements: | ||
=== | |||
====<tt>.''property''</tt>==== | |||
==JSONPath Template== | ==JSONPath Template== |
Revision as of 23:54, 15 March 2021
External
- https://goessner.net/articles/JsonPath/
- https://github.com/json-path/JsonPath
- https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html
- https://github.com/jayway/JsonPath
Internal
Overview
JSONPath is a query language for JSON similar to XPath for XML. Some documentation describes it as a Java DSL for reading JSON documents, probably to address those cases where the implementation is made in Java.
Concepts
JSONPath Expression
A JSONPath expression specifies a path to an element or a set of elements that are part of a JSON document. An expression can be assembled using the following syntax elements: