Edit in JSFiddle

<button>convert json string</button>
<div></div>
$("button").click(function(){
var json ='[{ "colorCode": "#f00" },{ "colorCode": "#0f0" },{ "colorCode": "#00f" }]';
jQuery.each(JSON.parse(json), function(idx, obj) {
$("div").append(obj.colorCode+'<br>');
});
});