Trouble reading and writing JSON files

leaozinho's icon

My js script has a function to read and write JSON files. It's always worked fine up until today - it just stopped working. It's reporting an error when I try to execute the `readline` method of the File object. Utterly confounded as to what is going on. Like I said - it was working fine before. Is anyone experiencing anything similar?

leaozinho's icon

I'm basically using the logic found in this example (thank you Cycling 74 forums!). When I open the included help patch and try to read in a JSON file, I get the error.

2297.JSONreadwrite.zip
zip 11.02 KB