title: jQuery.ajax() and sending boolean request arguments
body: <pre><code>$.ajax({
    url : uri,
    type : 'post',
    data : {someBooleanVar1: false, subVar: {someBooleanVar2: true}}
  });
  </code></pre>
  
  <p>The problem is that on server someBooleanVar1 and someBooleanVar2 will be received as strings "false" and "true", but not as "0" and "1". Is there any way to <strong>automatically</strong> convert boolean arguments to "1" and "0"?</p>