Simple JSON Question
Kelly Burgess
kellyb at montana.com
Mon Aug 1 09:46:12 UTC 2022
The use of the second optional encoding parameter can avoid the binary -
Do OJSON.$listorrowtojson(llist,kUniTypeCharacter) Returns #S2
> On Aug 1, 2022, at 2:12 AM, Kelly Burgess <kellyb at montana.com> wrote:
>
> Hi Das,
>
>> Do OJSON.$listorrowtojson(llist) Returns #S2
>>
>> I get an error, that I’m trying to assign Binary to Character.
>
> So try
> Do OJSON.$listorrowtojson(llist) Returns jsonBin
> Do utf8tochar(jsonBin) Returns #S2
>
> Or
> Do utf8tochar(OJSON.$listorrowtojson(llist)) Returns #S2
>
> Kelly
More information about the omnisdev-en
mailing list