如何从android的JSONArray中的JSONArray的数组中获取字符串?

时间:2018-12-19 13:21:29

标签: android arrays json

有人知道我如何才能使用JSONObject和JSONArray从android中的这个JSON数组中获取字符串“ num12”?

[{
"id": 7378,
"status": "publish",    
"acf": {
    "dars": [{
        "title": "math",
        "cat": "cat1",
        "kind": "free",
        "question": "num1"
    },{
        "title": "math2",
        "cat": "cat12",
        "kind": "free",
        "question": "num12"
    }]
}

}]

1 个答案:

答案 0 :(得分:-1)

from IPython.display import display
display(df)