[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 16:22:02 CET 2013


Comment #8 on issue 473 by uAle... 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

I just wanted to follow the JSON-RPC 2.0 specs (not a rfc), where i can  
return "" as an empty string. But maybe you're right, i should respond with  
null instead of "" … Need to check if the JSON-RPC clients in e.g. PHP can  
handle this too in a good way (not many good freeware json-rpc testing  
tools available at this moment :-(). So TBD :-)

-- 
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