json-spread-to-one
v0.2.3
Published
json展开工具
Downloads
1
Readme
json-spread-to-one
导入 npm install json-spread-to-one
json spread tool
json 展开工具
- emample
let tmpdata = {
x: {
y: ['a', 'b', 'c']
},
z: {
l: {}
},
k: 1,
l: '0.1'
}
spread(tmpdata)
展开
= { 'x.y': [ 'a', 'b', 'c' ], 'z.l': {}, k: 1, l: '0.1' }