Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/353.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/198.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如何在android中使用volley解析此类json数据_Java_Android_Json - Fatal编程技术网

Java 如何在android中使用volley解析此类json数据

Java 如何在android中使用volley解析此类json数据,java,android,json,Java,Android,Json,如何在android studio中使用voley解析此类json数据。请帮助我,我被困在分析评论部分 { "327090": { "posted_on": "01 Jun 2021 12:51 PM", "body": "<p>test three<span style=\"font-size: 13.008px;\">test thre

如何在android studio中使用voley解析此类json数据。请帮助我,我被困在分析评论部分

{ "327090": {
   
    "posted_on": "01 Jun 2021 12:51 PM",
    "body": "<p>test three<span style=\"font-size: 13.008px;\">test three</span></p>",
   
    "comments": [
        {
            "posted_by_nid": "1",
            "comment_value": "cw2Singlefileposted onlyClass- Test Comment 1"
        },
        {
            "posted_by_nid": "1",
            "comment_value": "cw2Singlefileposted onlyClass- Test Comment 2"
        }
    ],
   
    "assignment_due_date": "30-05-2021",
    "attachment": [
        "http://www.branch2.school.coolg.in/sites/branch2.school.coolg.in/files/classwork/img_1.jpg"
    ],
    "attachment_type": [
        "image"
    ],
    "answer_key_attachment": "http://www.branch2.school.coolg.in/",
    "answer_key_attachment_type": "image",
    "timestamp": "1622532081",
    "child_nid": "28"
}
{“327090”:{
“发布日期”:“2021年6月1日下午12:51”,
“正文”:“测试三测试三”,
“评论”:[
{
“由nid发布”:“1”,
“注释值”:“cw2Singlefileposted onlyClass-测试注释1”
},
{
“由nid发布”:“1”,
“注释值”:“cw2Singlefileposted onlyClass-测试注释2”
}
],
“转让到期日”:“2021年5月30日”,
“附件”:[
"http://www.branch2.school.coolg.in/sites/branch2.school.coolg.in/files/classwork/img_1.jpg"
],
“附件类型”:[
“图像”
],
“应答键附件”:http://www.branch2.school.coolg.in/",
“应答键附件类型”:“图像”,
“时间戳”:“1622532081”,
“child_nid”:“28”
}

}

这是否回答了您的问题?不,这不是正确的你已经试过什么了?如果您已经能够发送/接收JSON负载,那么这不是关于截击的问题。