I have the following JSON string, which was an Objective C array then encoded to JSON:
$jsonString=[\\\"a@gmail.com\\\",\\\"b@gmail.com\\\",\\\"c@gmail.com\
You should quote your string, it works fine, see here.
$jsonString = '["m@gmail.com","b@gmail.com","c@gmail.com"]'; $arrayOfEmails=json_decode($jsonString);
Or
$jsonString = "[\"a@gmail.com\",\"b@gmail.com\",\"c@gmail.com\"]"; $arrayOfEmails=json_decode($jsonString);