【文件属性】:
文件名称:concat-json:连接JSON的库
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-22 09:42:34
JavaScript
concat-json
连接JSON的库
安装
bower install --save concat-json
例子
var json1 = {
name: 'Sebastián',
last: 'Osorio',
from: 'Colombia'
}
, json2 = {
name: 'Carlos',
last: 'Parada',
age: '20',
height: '170'
};
json1.concat(json2);
console.log(json1);
/*
{
name: 'Carlos',
last: 'Parada',
from: 'Colombia',
age: '20',
height: '170'
}
*/
【文件预览】:
concat-json-master
----concat-json.js(191B)
----LICENSE(1KB)
----README.md(407B)
----bower.json(297B)