您的位置:首页 > Web前端 > JavaScript

Json实际项目中应用

2016-04-17 17:21 357 查看
对象列表(2个对象)

对象中间用逗号分隔开,起始、结束用中括号,每个对象用大括号包起来

[{"settingDate":"","operatorId":"","protocolType":30,"seqNo":0,"switchPw":"","data":"","projectType":2,"settingTime":"","packetsLength":0,"updateType":false,"copyTime":"1604171630","packNo":0,"packageSerialN":0,"tSettingData":"","token":"","tSettingOpCode":"","rewireId":"","versionNo":[],"indexPacketsLength":0,"apcuType":0,"packetsAmount":0,"APDU":"","currentMillis":0,"switchAddr":"","rewireActionTime":0,"tSettingC":17,"webServiceType":false,"CRCByte":[],"taskPriority":0,"tSettingIdentify":"C3020001","switchC":0,"curveTimeTag":"","switchStep":0,"curveBlockNum":0,"frame":[],"rewireActionCount":0,"rewireActionResult":"","switchL":0,"rewireScore":0,"tSettingAddr":"542016041511","switchN1":0,"tSettingL":4,"tSettingPw":""},{"settingDate":"","operatorId":"","protocolType":30,"seqNo":0,"switchPw":"","data":"","projectType":2,"settingTime":"","packetsLength":0,"updateType":false,"copyTime":"1604171630","packNo":0,"packageSerialN":0,"tSettingData":"","token":"","tSettingOpCode":"","rewireId":"","versionNo":[],"indexPacketsLength":0,"apcuType":0,"packetsAmount":0,"APDU":"","currentMillis":0,"switchAddr":"","rewireActionTime":0,"tSettingC":17,"webServiceType":false,"CRCByte":[],"taskPriority":0,"tSettingIdentify":"C3010001","switchC":0,"curveTimeTag":"","switchStep":0,"curveBlockNum":0,"frame":[],"rewireActionCount":0,"rewireActionResult":"","switchL":0,"rewireScore":0,"tSettingAddr":"542016041511","switchN1":0,"tSettingL":4,"tSettingPw":""}]


对象Json(1个对象)

需要用到的属性:(1)protocolType (2)projectType (3)tSettingIdentify (4)tSettingC (5)tSettingAddr (6)tSettingAddr

[{"settingDate":"","operatorId":"","protocolType":30,"seqNo":0,"switchPw":"","data":"","projectType":2,"settingTime":"","packetsLength":0,"updateType":false,"copyTime":"1604171630","packNo":0,"packageSerialN":0,"tSettingData":"","token":"","tSettingOpCode":"","rewireId":"","versionNo":[],"indexPacketsLength":0,"apcuType":0,"packetsAmount":0,"APDU":"","currentMillis":0,"switchAddr":"","rewireActionTime":0,"tSettingC":17,"webServiceType":false,"CRCByte":[],"taskPriority":0,"tSettingIdentify":"C3010001","switchC":0,"curveTimeTag":"","switchStep":0,"curveBlockNum":0,"frame":[],"rewireActionCount":0,"rewireActionResult":"","switchL":0,"rewireScore":0,"tSettingAddr":"542016041511","switchN1":0,"tSettingL":4,"tSettingPw":""}]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: