JonR
unread,Aug 4, 2009, 4:27:10 PM8/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-jstemplate
[{"foodid":"1","foodname":"Breakfast
food","fooditemid":"36","fooditemname":"Pork
Sandwich","description":"Ra Ra","price":"3.000"},
{"foodid":"1","foodname":"Breakfast
food","fooditemid":"37","fooditemname":"test","description":"blah","price":"1.000"},
{"foodid":"1","foodname":"Breakfast
food","fooditemid":"38","fooditemname":"ok","description":"Ysds","price":"2.000"},
{"foodid":"1","foodname":"Breakfast
food","fooditemid":"39","fooditemname":"Hello","description":"test","price":"4.000"},
{"foodid":"1","foodname":"Breakfast
food","fooditemid":"41","fooditemname":"test","description":"hi","price":"1.000"},
{"foodid":"2","foodname":"Lunch
food","fooditemid":"9","fooditemname":"Pickled Pork
Hearts","description":"Our specialty","price":"8.000"},
{"foodid":"2","foodname":"Lunch
food","fooditemid":"31","fooditemname":"Beef
Sandwich","description":"It's beeftastic!!","price":"4.500"},
{"foodid":"4","foodname":"testing","fooditemid":"35","fooditemname":"Tuna
Fish Sandwich","description":"Tuna Time","price":"45.000"},
{"foodid":"5","foodname":"Alien French Fry
food","fooditemid":"43","fooditemname":"ZorkFries","description":"Zorkalicious!","price":"34.000"},
{"foodid":"7","foodname":"Mooooo","fooditemid":"42","fooditemname":"Milk","description":"Real
Organic Milk","price":"3.000"}]
I have been using the Interactive Test template in conjunction with my
data. So far, I have been unable to get it to output my values. I was
hoping someone could give me an example of how I would access the
values from this JSON output. Each top level object has no name, and
there is no example in the documentation of how to select an object
that is unnamed. However, the JSON validates, so I'm guessing there is
a way to make this work.
Any help would be most appreciated.