object-deconstructed

1.0.0 • Public • Published

##安装

npm install object-deconstructed

##导入

const objdec = require('object-deconstructed')

##使用

let obj = {
    "appName": "医疗自助服务系统",
    "type": "ZZJ",
    "mock": false,
    "fullscreen": false,
    "corpInfo.hospitalId": 1402,
    "corpInfo.hospCode": 3306011247
}
const newObj = objdec.ChangeJson(obj)

//result is json object:
newObj = {
    "appName": "医疗自助服务系统",
    "type": "ZZJ",
    "mock": false,
    "fullscreen": false,
    "corpInfo":{"hospitalId": 1402},
    "corpInfo":{"hospCode": 3306011247}
}

##开源协议 ISC

Readme

Keywords

Package Sidebar

Install

npm i object-deconstructed

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.7 kB

Total Files

3

Last publish

Collaborators

  • xujialu