Hi everyone,
I am tried to read the JSON file for getting the values and it returns the empty values. I am using eclipse in Ubuntu machine.
I was tried the example given in roku sdk JSONParsing.zip and it was working. But when I tried it in new project it showed the following error.
BRIGHTSCRIPT: ERROR: ParseJSON: Data is empty: pkg:/source/Main.brs(85)
BREAK (runtime error &hf8) in pkg:/source/Main.brs(85)I was used this code.
CategoryAsString = ReadAsciiFile("pkg:/json/category_list.json")
m.json = ParseJSON(CategoryAsString)
print m.jsonIs that I need to add any other plugins or need to check file permissions. But file permissions also given 755 access.
Any help will be much appreciated.
Thank you.
I am using Roku 4 - 4400X Model.