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

JSON.Decode not load key-value pairs when value is an empty string in Gambas 3.21.0


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.