zuber
11 years agoVisitor
JSON PARSE from URL
I am trying to Prase JSON file from URL instead of the reading from Package.
I am using sample from Roku. https://blog.roku.com/developer/2012/07/16/json-support-comes-to-roku/
How can I change following code to read from URL instead of "pkg:/json/cp.json")
Thanks
I am using sample from Roku. https://blog.roku.com/developer/2012/07/16/json-support-comes-to-roku/
How can I change following code to read from URL instead of "pkg:/json/cp.json")
Function LoadJSONFile() as void
jsonAsString = ReadAsciiFile("pkg:/json/cp.json")
m.json = ParseJSON(jsonAsString)
ShowPosterScreen(m.json.videos, true)
End Function
Thanks