我有这个JSON数组:
{
"type": "array",
"items": {
"type": "struct",
"fields": [
{
"type": "string",
"optional": true,
"field": "FieldName"
},
{
"type": "string",
"optional": true,
"field": "FieldValue"
}
],
"optional": false,
"name": "Fields"
},
"optional": true,
"name": "Fields",
"field": "Fields"
}
我在不同的字段中接收属性名称和值。如何提取与字段名称匹配的值?