Zoho Creator REST API: JSON result string formatting?

Zoho Creator REST API: JSON result string formatting?

Hi there,

I'm new to Zoho Creator and I may be about to ask an elementary question. I am using the REST API to display some view output in a web application. But when I make an API request in this format:

http://creator.zoho.com/api/json/<app_name>/view/<view_name>/apikey=<api_key>&ticket=<ticket>

The resulting string I get starts wtih something like 'var zoho1234567view2 = ' and ends with a semicolon, meaning I have to do some string parsing before I can run json_decode() against it.

Am I trying to access the data with an incorrect format? Is this the standard output? Or is there something else going on?

Thanks for any insight!