如何访问JSON的嵌套元素并将其转换为CSV

时间:2015-07-01 07:40:51

标签: json

以下是我需要访问的JSON。

{
    "Timestamp": "2014-05-28 03:31:59",
    "Version": 1,
    "ACK": "success",
    "Errors": {
        "ErrorCode": "433",
        "ShortMessage": "success",
        "LongMessage": "Successfully get all cate information",

    },
    "data": {
        "1": {
            "cate_name": {
                "1": "Women",
                "5": "Женщинам",
                "9": "Femme",
                "10": "Ženy",
                "11": "Kvinder",
                "12": "Women"
            },
            "cate_id": {
                "6": {
                    "cate_name": {
                        "1": "Dresses",
                        "5": "Платья",
                        "9": "Robes",
                        "10": "Šaty",
                        "11": "Kjoler",
                        "12": "Dresses"
                    }
                },
                "14": {
                    "cate_name": {
                        "1": "Vests\/Tank Tops",
                        "5": "Жилеты \/ топы",
                        "9": "Gilets",
                        "10": "Vesty\/Tank topy",
                        "11": "Veste\/Tank Tops",
                        "12": "Vests\/Tank Tops"
                    }
                }
            }
        },
        "2": {
            "cate_name": {
                "1": "Bags",
                "5": "Сумки",
                "9": "Sacs",
                "10": "Tašky",
                "11": "Tasker",
                "12": "Bags"
            },
            "cate_id": {
                "37": {
                    "cate_name": {
                        "1": "Messenger Bags",
                        "5": "Модные сумки",
                        "9": "Petit Sacs",
                        "10": "Messenger tašky",
                        "11": "Messenger poser",
                        "12": "Messenger Bags"
                    }
                }
            }
        }
    }

0 个答案:

没有答案