I\'m a newb in PHP world and I\'ve problems parsing JSON in PHP. I want to POST data to PHP script with my Java client using Apache HttpClient 4.x and Gso
Apache HttpClient 4.x
Gso
try with stripslashes()
$string = stripslashes('[{\"Knt_KntWatchId\":\"15\",\"type\":\"INSERT\",\"Knt_Nazwa1\":\"a\"}]'); print_r(json_decode($string));
so il will be
$json = json_decode(stripslashes($data), true);