Sempre a complicarsi la vita 
foo.php
Codice PHP:
$properties = array(
'propertyOne' => 'valueOne',
'propertyTwo' => 'valueTwo',
'propertyThree' => 'valueThree',
);
echo json_encode(array('properties' => $properties));
bar.php
Codice PHP:
$properties = isset($_POST['properties']) ? json_decode($_POST['properties']) : null;
// todo: your stuff
ajax page
Codice PHP:
$.ajax({
url: [url to foo.php],
type: "GET",
success: function(response) {
$.ajax(
url: [url to bar.php],
type: "POST"
data: response,
dataType: "json",
success: function(response) {
// todo: your stuff
},
error: function(objResponse) {
console.log('fail');
},
complete: function() {
console.log('done');
}
)
},
error: function(objResponse) {
console.log('fail');
},
complete: function() {
console.log('done');
}
});
Non l'ho testato quindi potrebbe anche non funzionare è giusto per darti l'idea.
Tieni presente che la chiamata ajax innestata potrebbe causare problemi data la natura asincrona della chiamata stessa. Meglio adottare altre tecniche, ma non voglio entrare nel merito ora.