JSON Object parsing
Posted: 08 Sep 2014 12:37
Hello all,
I have little doubt about how to use and can I use JSON parsing mechanism included in VLC. For example I make some different EPG service, and in my xspf file I use "annotation" tag which is URL point to JSON file. Then I make request to this URL which contains EPG (in JSON format) for my live stream channels. How can I use JSON parsing to parse this JOSON file in objects for later use?
http://someulr.with.info/TVchannel.json
{
"id": {
"140563": [
{
"channelName": "2014InfoSD"
},
{
"title": "Serwis info"
},
{
"time": "1410177600"
},
{
"description": "Some Descritpion form profram"
},
{
"link": "http://www.linkMeTestService.com/tv/315/serwis-info"
},
{
"atTime": true
},
{
"category": "Info"
},
{
"duration": "1h:30m"
}
]
}
}
I have little doubt about how to use and can I use JSON parsing mechanism included in VLC. For example I make some different EPG service, and in my xspf file I use "annotation" tag which is URL point to JSON file. Then I make request to this URL which contains EPG (in JSON format) for my live stream channels. How can I use JSON parsing to parse this JOSON file in objects for later use?
http://someulr.with.info/TVchannel.json
{
"id": {
"140563": [
{
"channelName": "2014InfoSD"
},
{
"title": "Serwis info"
},
{
"time": "1410177600"
},
{
"description": "Some Descritpion form profram"
},
{
"link": "http://www.linkMeTestService.com/tv/315/serwis-info"
},
{
"atTime": true
},
{
"category": "Info"
},
{
"duration": "1h:30m"
}
]
}
}