var arr = new Array(3)
arr['color'] = "George";
arr['color2'] = "John";
arr['color3'] = "Thomas";
var param = '';
for(var i in arr){
param += i +':"'+arr[i]+'",';
}
param = param.substring(0,param.length-1);
var aaa = '{page:'+page+','+param+'}';
param =eval('('+aaa+')');
$.ajax({
url:url,
traditional: true,
dataType: 'json',
type: 'post',
data: param,
success: function(list) {}
});