Jump to: navigation, search

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:


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.
blog comments powered by Disqus