I am trying to receive and parse a JSON object sent in a POST request using Codeigniter but I cannot \"find\" it.
This is my controller code:
public
Try this instead
$json = $this->input->post('data'); $json = stripslashes($json); $json = json_decode($json); print_r($json);
You need to pass in the key of the data variable you want from the post array as an argument to post()
post()