think he's saying - is not allowed in variables.
can you make the app read the file, check for any -'s and convert them to _ perhaps then you can load the variable as normal?
something like
file1 = opentoread("data.JSON")
file2 = opentowrite("newdata.JSON")
while FileEOF(file) = 0
cstring = ReadLine( file1 )
if FindString( cstring, "man-of-the-match") = 1
cstring = ReplaceString( cstring, "man-of-the-match", "man_of_the_match", 1)
endif
WriteLine(file2,cstring)
endwhile
CloseFile(file1)
CloseFile(file2)
life's one big game
spec= i5 4ghz, 16gb ram, Nvidia 1070ti gpu