[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...
Fri Nov 1 14:49:20 CET 2013
Updates:
Status: Accepted
Labels: -Version Version-TRUNK
Comment #1 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
This is "as design", as in Gambas collections there is no difference
between nothing, the NULL value, and the void string.
I admit this is not fully compatible with JavaScript.
Maybe I should add an option to use a dedicated object to represent the
NULL value so that you don't lost the keys whose value is NULL or a void
string?
--
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