JSON Object parsing

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
pezalot
New Cone
New Cone
Posts: 1
Joined: 08 Sep 2014 12:03

JSON Object parsing

Postby pezalot » 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"
}
]
}
}

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 35 guests