- json_decode: documentation ( source)
- print_r: documentation ( source)
<?php
$user = '{
"pageUrl" : "http://webengage.net/publisher/feedback-configuration/fields/311c48b3",
"pageTitle" : "Feedback Configuration - WebEngage",
"ip" : "127.0.0.1",
"city" : "Mumbai",
"country" : "India",
"browser" : "Firefox",
"browserVersion" : "18",
"platform" : "Linux",
"activityOn" : "2013-02-11T08:09+0000"
}';
$json = json_decode($user);
echo '<pre>'; print_r($json);