用jsonpath提取属性名

问题描述 投票:0回答:1

我需要提取属性 name 使用JsonPath。我已经得到了这个JSON。

"Country": {
    "IN": {
        "name": "India",
        "id": "11"
    }
}

我想得到的是 IN 节点,然后检索名称。

jsonpath
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.