Import JSON data into Google Spreadsheet

Posted by Jeremy Petzold on Stack Overflow See other posts from Stack Overflow or by Jeremy Petzold
Published on 2010-04-17T15:50:52Z Indexed on 2010/04/17 15:53 UTC
Read the original article Hit count: 580

I am pulling data down from a webservice and it is formated as JSON. I am writing a google apps script for google spreadsheet that will populate the data form me. my problem is, I can't seem to get it to parse out.

doing:

var dataset = myJSONtext;
Browser.msgbox(dataset.item[0].key); 

errors out, saying item[0] is not defined.

Is there some built in way I should be doing this?

Any help would be apreciated.

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about google-spreadsheet