我有一个如下所示的JSON模式:
InputParameters": [
{
"key": "Target",
"value": {
"__type": "Entity:http://schemas.microsoft.com/xrm/2011/Contracts",
"Attributes": [
{
"key": "prioritycode",
"value": {
"__type": "OptionSetValue:http://schemas.microsoft.com/xrm/2011/Contracts",
"Value": 1
}
},
{
"key": "completeinternalreview",
"value": false
},
{
"key": "stepname",
"value": "1-Lead"
}
]
}
}
]
这是来自从队列中读取的CRM消息。
读取键值对的最佳方法是什么?如果你有嵌套数组,似乎没有办法嵌套for循环。
我可以使用JSON.NET的功能应用来做一些时髦的东西吗?