how to print php response json response in android :  how to print php response json response in android thanks in advance im fresher in this field i needs help plz help me im fresher and i have no idea about this code thanks in advanced thank you im android devloper but i have no idea about json parsing plz help me

       {
          "details": [
            {
              "p_id": "19",
              "cat_id": "1",
              "p_name": "Papad",
              "p_namecode": "[01]Papad",
              "p_image": 
              "p_price": "20",
              "p_quantity": "2",
              "p_code": "25",
             "p_discount": "10",
             "p_packing": "2",
             "p_type": "small",
            "p_status": "1",
          "p": [
             {
          "q_id": "16",
          "p_id": "19",
          "q_weight": "25-gm",
          "q_price": "150",
          "q_beg": "50 bunch",
          "q_status": "1"
             },
             {
          "q_id": "17",
          "p_id": "19",
          "q_weight": "50-gm",
          "q_price": "200",
          "q_beg": "50-bunch",
          "q_status": "1"
             }
           ]
          },
           
        {
      "p_id": "23",
      "cat_id": "1",
      "p_name": "Palak Papad",
      "p_namecode": "[03]Palak",
      "p_image": 
      "p_price": "200",
      "p_quantity": "5",
      "p_code": "02",
      "p_discount": "15",
      "p_packing": "4",
      "p_type": "small",
      "p_status": "1",
      "p": [
        {
          "q_id": "19",
          "p_id": "23",
          "q_weight": "50- gm",
          "q_price": "15",
          "q_beg": "50 bunch",
          "q_status": "1"
        },
        {
          "q_id": "20",
          "p_id": "23",
          "q_weight": "1-kg",
          "q_price": "30",
          "q_beg": "50 bunch",
          "q_status": "1"
        }
      ]
    }
  ],
  "success": true,
  "message": "Category and Sub Category"
}