This is my current PHP code
while ($row = mysql_fetch_array($result))
{
$post = new Post();
$post->setId($row['post_id']);
$post->setBody($row['post_body']);
$post->setImage($row['post_imgurl']);
$post->setStamp($row['post_stamp']);
$postList[] = $post;
}
return array('post'=> $postList);
}
and this is its output JSON.
How can i make my JSON more readable like below and remove / the character?
More readable output:

/needs to be escaped in a JSON string, that's how it works (see: json.org)/doesn't need to be escaped (\does), but it does no harm if you do. PHP escapes them so that having</script>in a string literal will become<\/script>and thus won't terminate a script block if you use the JSON as JavaScript in HTML.