Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.


Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

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:

{'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 October 26, 2016, at 18:24.

Feedback

Comment on this article:

blog comments powered by Disqus