Hey guys, okay im probably biting off more than i can chew right now. Non programmer trying to learn lua and json at the same time.
Im loading in an external json file. I can download from the web, and load into my document directory no prob. But im not quite sure how to parse and display the data.
the json file itself is pretty simple:
< code>
[
{
“business”: “business 1”,
“location”: “address 1”,
“promotion”: “promo 1”
},
{
“business”: “business 2”,
“location”: “address 2”,
“promotion”: “promo 2”
},
{
“business”: “business 3”,
“location”: “address 3”,
“promotion”: “promo 3”
}
]
< /code>
im not sure if thats even the best or most efficient way to write json. I found http://www.jsoneditoronline.org/ from another post here.
how do i take this data and use it?
I ultimately want to take the json data and put it into tableview, but baby steps first!
thanks corona gurus!
-K [import]uid: 88004 topic_id: 25742 reply_id: 325742[/import]