Have been trying on these codes and I want to send a email which will auto generate the password and the random password will then update in my database column which is the
I had the exact same problem - the string had a table like this generated before my actual JSON object. I put this table into a HTML file and displayed it - turns out it's a call stack for PHP functions:
I fixed the deprecated warnings by adding the following line in the php file:
error_reporting(E_ALL ^ E_DEPRECATED);
This fixed the reply string and I was now able to parse it successfully.