I pass php array like
[sit_latitude] => 20° 23.298\' N
inside json_encode(); and output is like,
{\"sit_latitude\":null}
<
what i tried and succeed was bit strange but worked , so let me share it with you.
$latitude = json_encode(utf8_encode($emplyoee['sit_latitude']));
$longitude = json_encode(utf8_encode($employee['sit_longitude']));
$emplyoee['sit_latitude'] = $latitude;
$emplyoee['sit_longitude'] = $longitude;
and now pass like
echo '{"item":'. json_encode($employee) .'}';
this will solve your problem