I try to send boolean parameters using:
... makeWebRequest(url, {"on"=>true}, options, responseCallback);
I do send this request as PUT and use REQUEST_CONTENT_TYPE_JSON.
But the parameter is sent as
{"on":1}
So, true is converted to 1.
As far as I know, this is no valid JSON anymore.
How can I make sure to send proper boolean values?