[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with json strings


Thanks, will give it a try in the morning.

~~~~~ Brian


From: user@xxxxxxxxxxxxxxxxxxxxxx <user@xxxxxxxxxxxxxxxxxxxxxx> on behalf of Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Sent: Thursday, April 10, 2025 3:13:42 AM
To: user@xxxxxxxxxxxxxxxxxxxxxx <user@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Problems with json strings

Le 10/04/2025 à 12:07, BB a écrit :
> On 10/4/25 9:10 am, Brian G wrote:
>>
>> On 4/9/25 13:45, Benoît Minisini wrote:
>>> Le 09/04/2025 à 18:36, Brian G a écrit :
>>>> I have suddenly started getting this error when processing strings
>>>> from jason
>>>>
>>>> Type mismatch: wanted UseNull, got Boolean instead.
>>>>
>>>> Here is the json string
>>>>
>>>> {
>>>>
>>>> "url": "https://api.github.com/gists/2a452c807c7030eb64a2f1d60d31a830",
>>>> ...
>>>
>>> Please can you send me a project that reproduces the bug? Because
>>> code and text inside an HTML-formatted mail is unreadable and often
>>> corrupted when copying/pasting.
>>>
>>> Thanks!
>>>
>> Attached is a simple project
>>
> I confirm this issue and as far as I can see there is no workaround.
>
> Something has happened to JSON.Decode()
>
> b
>
>

It's fixed in commit
https://gitlab.com/gambas/gambas/-/commit/a0514ebe58f82714c09d854292673d0934ceb9c2.

Regards,

--
Benoît Minisini.




Follow-Ups:
Re: Problems with json stringsBrian G <brian@xxxxxxxxxxxxxxxx>
References:
Problems with json stringsBrian G <brian@xxxxxxxxxxxxxxxx>
Re: Problems with json stringsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Problems with json stringsBrian G <brian@xxxxxxxxxxxxxxxx>
Re: Problems with json stringsBB <adamnt42@xxxxxxxxx>
Re: Problems with json stringsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>