[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JSON.Decode not load key-value pairs when value is an empty string in Gambas 3.21.0
[Thread Prev] | [Thread Next]
- Subject: Re: JSON.Decode not load key-value pairs when value is an empty string in Gambas 3.21.0
- From: Salva <harpomix@xxxxxxxxx>
- Date: Wed, 5 Nov 2025 16:42:07 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Yes, if that parameter is not passed as true, the function returns a Collection and throws an error. El mié, 5 nov 2025 a las 16:28, Lee (<t.lee.davidson@xxxxxxxxx>) escribió: > On 11/5/25 6:11 AM, Salva wrote: > > I'm using the function to load JSON files into a JSONCollection, but > values with an empty string disappear. The same thing > > happens with JSON.FromString. > > Are you passing a True value to JSON.Decode's UseNull parameter? > > > -- > Lee > > --- Gambas User List Netiquette [ > https://gambaswiki.org/wiki/doc/netiquette] ---- > --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] > ---- > > >
| JSON.Decode not load key-value pairs when value is an empty string in Gambas 3.21.0 | Salva <harpomix@xxxxxxxxx> |
| Re: JSON.Decode not load key-value pairs when value is an empty string in Gambas 3.21.0 | Lee <t.lee.davidson@xxxxxxxxx> |