foysal-mamun/json-crud — pull request #2 by icancodetoo (2013-05-13 06:31:37+00:00)
Title: Update Controller.php

I saw JSON objects submitted has backslash before double quotes, so json_decode fail to parse data. After investigating found that its all related to magic quotes... solution was to add that check before decoding..

if(get_magic_quotes_gpc()){
$userParams = stripslashes($_POST['user']);
} else {
$userParams = $_POST['user'];
}