guptahanu / google-ajax-apis

Automatically exported from code.google.com/p/google-ajax-apis
0 stars 1 forks source link

Unparsable JSON in Google Finance #580

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Retrieve data from 
http://www.google.com/finance?&q=apple&output=json&oe=utf-8&infotype=infoquoteal
l
2. Attempt to parse using json_decode() (PHP) or JSONLint.
3. Will not work

What is the expected output? What do you see instead?

As of this writing, the attached invalid json is what is returned. There are 
two slashes in the beginning which should not be there.. and even if you strip 
those, JSONLint still says:
"syntax error, unexpected TINVALID at line 8"

What version of the product are you using? On what operating system?

n/a

Original issue reported on code.google.com by fuhryst...@gmail.com on 23 Apr 2011 at 8:05

Attachments: