如何在Android中使用jackson从json字符串获取数组数组(结果值特别是CommentUser []和BarLike [])?

时间:2016-02-02 09:41:18

标签: android arrays parsing jackson

我想获取CommentUser[]BarLike[]的值,但无法从此JSON字符串中获取该数组数组。

请参阅此链接以查看我的解析代码: https://www.dropbox.com/s/rws784060dblbq4/Untitled.png?dl=0

{
    "success": "1",
    "msg": "Closures found.",
    "details": {

    },
    "result": [{
        "name": "Miles Davis",
        "birthDate": -1376027600000,
        "CommentUser": [{
            "like": 0,
            "unlike": 1
        }],
        "BarLike": [{
            "like": 0,
            "unlike": 1
        }]
    }]
}

0 个答案:

没有答案