Skip to content

@http:json.format

Construct a JSON string from a template and an array of values.

Returns: string

@http:json.format(template values)
NameTypeDescription
templatestringBrace-wrapped template listing JSON object keys
valuesarrayValues to substitute into template