I am trying to convert some JSON to a LC array. Both JSONImport and
JSONToArray are failing. JSONToArray gives only a generic "error in
function". JSONImport gives this:
864,9,9,syntax error: 1:1 Unexpected character '˛'
The JSON is full of foreign characters, saved on disk as UTF-16 (with
BOM), and read into LC as binary text. I've run the text through several
online JSON validators and none report any problems.
I don't know if the above error will come through the list correctly but
it isn't a normal comma. LC's charToNum() reports 254. I pasted it into
BBEdit's "find" dialog and when I do a search on the actual file, BBEdit
says it doesn't exist in there.
Any ideas what might be wrong?
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription