Json实际项目中应用

对象列表(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":""}]

C# Redis json串

{"commAddr":"07550008","isA2Group":false,"mainStationNo":0,"funcCode":-1,"aFNCode":"0D","pnNo":1,"fnNo":1,"setValue":"","setPassword":""}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值