var username = $("input[name='zhName']").map(function () {
return $(this).val();
}).get();
var book = $("input[name='mobile']").map(function() {
return $(this).val();
}).get();
var sex = $("input[name='email']").map(function() {
return $(this).val();
}).get();
var psn = {
'username': username,
'book': book,
'sex': sex
};
var data= [{name:"jon",age:"12"},{name:"jic",age:"18"},{name:"petter",age:"14"}]
var $inputArr_zhName = $("input[name='zhName']");
//3.循环处理input,并定义结果集
$inputArr_zhName.each(function(){
result.push({name:"jon",age:"12"});
});