[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: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Thu, 13 Nov 2025 23:48:31 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 05/11/2025 à 12:11, Salva a écrit :
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.The opposite functions, JSON.Encode and JSON.ToString, correctly generate the JSON file, although they replace the empty string with a null value.This didn't happen in previous versions. Is this a bug or a change in functionality?The component has been rewritten for this latest version. Regards.
What did happen in the previous version? Can your formalize that in a little project so that we are sure to talk about the same thing?
Thanks in advance. -- Benoît Minisini.
| Re: JSON.Decode not load key-value pairs when value is an empty string in Gambas 3.21.0 | Salva <harpomix@xxxxxxxxx> |
| JSON.Decode not load key-value pairs when value is an empty string in Gambas 3.21.0 | Salva <harpomix@xxxxxxxxx> |