@http:json.format
Construct a JSON string from a template and an array of values.
Returns: string
Syntax
Section titled “Syntax”@http:json.format(template values)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
template | string | Brace-wrapped template listing JSON object keys |
values | array | Values to substitute into template |
See Also
Section titled “See Also”- @http:json — parse JSON strings
- @http:fetch — fetch a URL