cara mendapatkan atribut model java dari javascript

var customObjectList = JSON.parse('${foo}');
console.log(customObjectList);
Dangerous Dog