Frends.JSON.QuerySingle / 1.4.0
Summary
Selects from JSON with a JSONPath expression and returns one result rather than a collection.
Typical use — reading a single field out of a response without unwrapping a collection first
Input parameters.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| Json | Object |
– | {\"key\":\"value\"} |
JSON input needs to be of type string or JToken |
| Query | String |
"$.key" |
"\"$.key\" |
The query is of type JSONPath. More details: http://goessner.net/articles/JsonPath/ |