parseTemplate()
function parseTemplate(input, options?): ReportTemplate;Parses a template from a JSON string or an already-parsed value.
Throws TemplateValidationError when the template is invalid.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input |
unknown |
options |
ValidateOptions |