
hugetv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2015
10:38 AM
help this json
hi all is that I have a json with this content
this error
Syntax Error. (compile error &h02) in pkg:/source/LTV/VideoPlayer.brs(276)
Syntax Error. (compile error &h02) in pkg:/source/TV/VideoPlayer.brs(341)
Syntax Error. (compile error &h02) in pkg:/source/TV/VideoPlayer.brs(342)
Syntax Error. (compile error &h02) in pkg:/source/TV/VideoPlayer.brs(343)
Syntax Error. (compile error &h02) in pkg:/source/TV/VideoPlayer.brs(344)
{"live":{"titulo":"Beetlejuice","inicio":"12:40PM","final":"2:15PM","avance":1,"hora_actual":"07:03pm"},"next":{"titulo":"The Fight Game With Jim Lampley","inicio":"2:15PM","final":"2:45PM"}}
jsonRequest = CreateObject("roUrlTransfer")
jsonRequest.SetURL("http://"+initConfig()+"/epg.php?ch="+m.ID)
json = ParseJson(jsonRequest.GetToString())
live = json.live
next = json.next ' linea 276
this error
Syntax Error. (compile error &h02) in pkg:/source/LTV/VideoPlayer.brs(276)
Syntax Error. (compile error &h02) in pkg:/source/TV/VideoPlayer.brs(341)
Syntax Error. (compile error &h02) in pkg:/source/TV/VideoPlayer.brs(342)
Syntax Error. (compile error &h02) in pkg:/source/TV/VideoPlayer.brs(343)
Syntax Error. (compile error &h02) in pkg:/source/TV/VideoPlayer.brs(344)
Our system http://www.rokumanager.com
2 REPLIES 2
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2015
11:10 AM
Re: help this json
'next' is a reserved word in BrightScript. Use something like 'nextJson' instead.

hugetv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2015
11:32 AM
Re: help this json
OK thanks
Our system http://www.rokumanager.com