json decode not working

I have a data i want to json_decode, the data was json_stringify before being sent to PHP and the data looks like this:


In my script i have:

echo $_GET['as']; //this is what you see above^
$obj = json_decode($_GET['as']);
echo $obj; //no output
var_dump($obj);  //this shows NULL

There are also no errors/notices/warnings in my error logs either.

I’m wondering if the slashes is causing some kind of problem ?

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.