I have PHP code as follows:
$arr = array('url' => 'https://google.com/test');
echo json_encode($arr);
It's echoing:
{"url":"https:\/\/google.com\/test"}
How can I parse the URL correctly?
I have PHP code as follows:
$arr = array('url' => 'https://google.com/test');
echo json_encode($arr);
It's echoing:
{"url":"https:\/\/google.com\/test"}
How can I parse the URL correctly?