<?php $val = array("foo" => "my 'bar'"); echo json_encode($val);
You have javascript disabled. You will not be able to edit any code.