@http:json
Parse a JSON string and extract a value by path.
Returns: any
Syntax
Section titled “Syntax”@http:json(data path)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
data | string | JSON string to parse |
path | json-path | JSONPath expression (e.g. data.items[0].name) |
See Also
Section titled “See Also”- @http:fetch — fetch a URL
- @http:json.format — build JSON strings