JSON objects and JavaScript keywords
If the JSON Objects used within the VXML document contain JavaScript reserved keywords (for example: double), NGI will throw an error.semantic exception.
For example, if the following occurs:
{'double':{'content':'40.015','XMLNS':'HTTP://WWW.WEBSERVICEX.NET/'}}
then accessing double.content in the above JSON Object will result in the following error:
exec_error SyntaxError: missing name after . operator JSONType.double.toSource()
event error.semantic:1
Therefore, responses from the requested URLs in Web Service and Web Request blocks should not contain any JavaScript reserved keywords.
This page was last edited on July 24, 2013, at 16:41.
Comments or questions about this documentation? Contact us for support!