Im submitting Data to a php file via AJAX using POST. It worked fine with just submitting strings, but now I wanted to submit my JS Object with JSON and decode it on PHP sid
Single quotes are not valid for php's json_encode, use the double quotes for both field names and values.
json_encode