输入
{
"ances": [
{
"id": 1,
"level": "Building",
"name": " Metro Campus Outdoor"
},
{
"id": 2,
"level": "Campus",
"name": " Metro Campus"
}
]
}
预期输出:
{
"result": [
{
"Building_id": 1,
"Building": "my building for Outdoor"
},
{
"Building_id": 2,
"Campus": "Man Metro Campus"
}
]
}
i want to change the name key with the value of the level tag.