小编sla*_*iv1的帖子

从JSON获取价值,JSON使用JavaScript在密钥名称中包含空格

{
"response": {
"success": 1,
"current_time": 1440089067,
"raw_usd_value": 0.125,
"usd_currency": "metal",
"usd_currency_index": 5002,
"items": {
    "A Brush with Death": {
        "defindex": [
            30186
        ],
        "prices": {
            "6": {
                "Tradable": {
                    "Craftable": {
                        "0": {
                            "currency": "metal",
                            "value": 4,
                            "last_update": 1436704678,
                            "difference": -0.5
                        }
                    }
                }
            }
        }
    },
    "A Color Similar to Slate": {
        "defindex": [
            5052
        ],
        "prices": {
            "6": {
                "Tradable": {
                    "Craftable": {
                        "0": {
                            "currency": "metal",
                            "value": 6,
                            "last_update": 1430635440,
                            "difference": 0.5,
                            "value_high": 7
                        }
                    } …
Run Code Online (Sandbox Code Playgroud)

javascript json space

3
推荐指数
1
解决办法
2196
查看次数

标签 统计

javascript ×1

json ×1

space ×1