<?php
$json = <<<JSON
{

"RESPONSE":[


{
   
   
        ///"id": null,
        "delivery_loc": "From 5000 To 10000",
        "lead_type": "Buy",
        //"profile_id": 73790152,
        "lead_id": "13317017",
       // "tl_rfi_message": null,
        "category_id": "182",
      //  "user_lead_status": null,
        "contactable": "1",
        "state": "Uttar Pradesh",
        "posted_on": "28 March 2024",
        "co_name": "New Company-Jitendra "
		}
]
}
JSON;
$trimmed = str_replace(" \r ", "", $json);

$json = json_decode($trimmed);
print_r($json);


//foreach ($json->RESPONSE as $img)

//{
  //      echo 'ID: ' .$img->UNIQUE_QUERY_ID .'<br/>';
    //    echo 'Message: ' .$img->QUERY_MESSAGE .'<br/>';
    
//}






