我对使用OpenJson解析JSON对象完全陌生,我关注了Json File
{
"item": [
{
"Identifier": "1",
"itemAttribute": [
{
"name": "NAME",
"value": "John",
"attributeList": null
},
{
"name": "creation_ts",
"value": "2018-03-14 15:39:12 -0500",
"attributeList": null
},
{
"name": "short_desc",
"value": "description value",
"attributeList": null
},
{
"name": "status",
"value": "OPEN",
"attributeList": null
},
{
"name": "manufacturer",
"value": "",
"attributeList": null
}
]
},
{
"Identifier": "2",
"itemAttribute": [
{
"name": "NAME",
"value": "Kim",
"attributeList": null
},
{
"name": "creation_ts",
"value": "2017-04-30 15:39:12 -0500",
"attributeList": null
},
{
"name": "short_desc",
"value": "descriptiontext",
"attributeList": null
},
{
"name": "status",
"value": "OPEN",
"attributeList": null
},
{
"name": "manufacturer",
"value": "GE",
"attributeList": null
}
]
}
预期结果是
Identifier Name creation_ts short_desc status
1 John 3/14/2018 15:39 description value Open
2 Kim 4/30/2017 15:39 descriptiontext Open
感谢您的帮助。
谢谢