jQuery: AJAX getJSON

$.getJSON('pageToGet.php', function(data) {
	$('#output').html(data.output);
});
<div id="output">
<?php

$output = array(
	'output' => 'Text being outputted in json'
);

echo json_encode($output);