Using jQuery Mobile I would like to generate pages using the json below. By generate I mean this json represents the layout and the structure of the whole mobile site. I somehow want to loop over this data (client site) and create the home page with page list and page. Can someone get me started with this with an example.
Many thanks
{
"name": "My Site Name",
"logo": "",
"theme": "a",
"fullSiteLink": "http://www.google.com",
"pages": [
{
"id": "1364666933727",
"name": "I'm a page",
"type": "basic",
"components": {
"img": "url here",
"text": "This is the page content."
}
}
]
}