解析逻辑应用程序中的数组

时间:2017-07-03 02:59:02

标签: dynamics-crm azure-logic-apps

我有一个如下所示的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的功能应用来做一些时髦的东西吗?

0 个答案:

没有答案
相关问题