Hi Nick,

Are you trying to use the google.visualization.Query to load the JSON file?
Or are you using XHR or jQuery to load it?

On Wed, Feb 17, 2016 at 9:51 AM Nick Dunbar <[email protected]> wrote:

> Any thoughts on this one? I appreciate this is XML but I am trying to
> avoid having to learn Python to do this properly.
>
> All help appreciated.
> Nick
>
> On Mon, Feb 15, 2016 at 5:07 PM, <[email protected]> wrote:
>
>> Hi,
>>
>> I'm using the Query/response method to download data from an API source
>> into a dataTable, but I get "SyntaxError: Unexpected token ':'. Parse
>> error." followed by a timeout alert. However, in the console, the
>> downloaded data (pasted below) appears ok to me. Can anyone spot what the
>> problem is, and how to fix it?
>>
>> Thanks,
>> Nick
>>
>>
>> {
>>     "realtime_start": "2016-02-15",
>>     "realtime_end": "2016-02-15",
>>     "seriess": [{
>>         "id": "GNPCA",
>>         "realtime_start": "2016-02-15",
>>         "realtime_end": "2016-02-15",
>>         "title": "Real Gross National Product",
>>         "observation_start": "1929-01-01",
>>         "observation_end": "2014-01-01",
>>         "frequency": "Annual",
>>         "frequency_short": "A",
>>         "units": "Billions of Chained 2009 Dollars",
>>         "units_short": "Bil. of Chn. 2009 $",
>>         "seasonal_adjustment": "Not Seasonally Adjusted",
>>         "seasonal_adjustment_short": "NSA",
>>         "last_updated": "2015-07-30 09:03:15-05",
>>         "popularity": 25,
>>         "notes": "BEA Account Code: A001RX1"
>>     }
>>     ]
>> }
>>
> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Google Visualization API" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/google-visualization-api/dmBdIMqe3_U/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>
>
>> To post to this group, send email to
>> [email protected].
>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/f503f439-d42d-4f03-883d-34beb59fe529%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-visualization-api/f503f439-d42d-4f03-883d-34beb59fe529%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAO5F7cupLWhL4faj6icb0KOa-qOTdEC_ygS_iOGq7cLqxWE1dQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-visualization-api/CAO5F7cupLWhL4faj6icb0KOa-qOTdEC_ygS_iOGq7cLqxWE1dQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
[email protected] <[email protected]>*

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6-ufv2YLJir0gG%3DnW3c2wcY2k_05EE9WTSL-bx_foKKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to