[Gambas-user] Issue 473 in gambas: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request.
gambas at ...2524...
gambas at ...2524...
Sun Nov 3 14:59:51 CET 2013
Comment #5 on issue 473 by benoit.m... at ...626...: JSON Encode/Decode:
JSONObject -> Collection drops relevant empty strings/null values from
input request.
http://code.google.com/p/gambas/issues/detail?id=473
No. In Gambas NULL and empty strings are the same thing. So there is no
point to try to make the difference after having decoding a JSON object.
The JSONCollection just allows you to store NULL inside a collection. It is
done by inheriting Collection, overriding some of its method, and
internally using a special value (JSON.Null) to represent the NULL value.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
More information about the User
mailing list