从JSON数据中的键创建数组

时间:2015-08-13 16:14:36

标签: arrays json

我需要从JSON数据中的Keys列表创建一个数组。目前的数据如下:

    {
"Investment": [
    {
        "name": "Average",
        "value": "170.0"
    }
],
"Recordkeeping Administration": [
    {
        "name": "Average",
        "value": "88.0"
    }
],
"Total Bundled": [
    {
        "name": "Average",
        "value": "268.0"
    }
],
"Trustee": [
    {
        "name": "Average",
        "value": "10.0"
    }
],
"chart_type": [
    {
        "name": "column",
        "value": "column"
    }
]

} 我需要一个如下所示的数组:[“投资”,“记录管理”,“总捆绑”,“受托人”]

0 个答案:

没有答案