> On 1 Nov 2020, at 6:21 am, David Bovill via use-livecode
> <[email protected]> wrote:
>
> Thanks Mark - I may give fastjson a go.
>
> I tracked down the problem to the "\u00a0” unicode character in the json I
> fetched, which was causing mergeJSON to fail. This hack fixed the issue in a
> temporary way.
> replace "\u00a0” with empty in episodeJson -- hack to remove "¬"
>
> Any thoughts on safe encoding of data I fetch fro jsonrpc calls so that it
> plays nicely with Livecode?
Hi David
The following seems to work without error:
put format("[ \"\\u00a0\" ]") into tJSON; get JSONToArray(tJSON); put tJSON &&
it[1]
Cheers
Monte
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode