JSON API¶
{ "template": "<template_name>", "emptyValue": "<empty_value>", "count": <count>, "columns": [ <column> , <column> , ...], "payload": <payload> }
Legend:
<template_name>
- Output template name<empty_value>
- empty value. By default is empty string<count>
- generated rows count<column>
- see Column<payload>
- see Payload
Payload¶
Holds Output template (if present in root node) or Column specific options (if present in column node).
Syntax:
{
"<name>":"<value>",
"<name>":"<value>",
...
}
Legend:
<name>
- name of the option<value>
- value of the option
Column specific payload:¶
All of these are optional:
"emptyPercent": <empty_percent>,
"xml": <attribute|element|cdata|comment|value>
Legend:
<empty_percent>
- indicates how much percent of the column values are to be empty. Valid values are:<0-100>
. Default value is0
.xml
- considered for the Template: xml only. Indicating the type of xml node to generate the column value to. (i.e.:xml: comment
generates value wrapped in xml comment). Default value iselement
.