coo.mvc.static.base.js.base.utils.js Maven / Gradle / Ivy
/** 将序列化数组转换成json对象 */
var serializeArrayToJson = function(serializeArray) {
var json = {};
if(!$.isEmptyObject(serializeArray)) {
jQuery.each(serializeArray, function(i, item){
json[item.name] = item.value;
});
}
return json;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy