var test={"a":false,"c":"<br>","b":null};
$.ajax({
type:"POST",
url:"http://example.com/bbb.php",
dataType: "json",
data:JSON.stringify(test),
success:function(data){
alert(data.ok);
},
error:function(){
alert('连接异常');
},
contentType: "application/json"
});

Related Posts: jQuery-$ajax POST JSON数据示例 :