I receive this JSON data (generated not by me) on my server:
{"publicKey": "D2Lxs7gD3cK2Yc+YxJL2iw\dawww1"}
When i try to json_decode it, the result is NULL because of the backslash the string contains. I can't control the string's contents, since i receive it externally.
I tried using addslashes and json_encode before i try to decode it, but to no avail.
How can i successfully decode this JSON string?