const obj1 = {"type": "STRING", "column": "name", "position": "QUERY", "required": 1, "reference": "example_name", "defaultVal": null, "description": "名称"};
const obj2 = {"type": "INT", "column": "age", "position": "QUERY", "required": 0, "reference": "18", "defaultVal": null, "description": "年龄"};
const array = [];
array.push(obj1, obj2);
const obj = {
};
array.forEach(function(element) {
var column = element.column;
var reference = element.reference;
obj[column] = reference;
});
console.log(obj);
console