What you have shown here is not a JSON string. Here's how a valid JSON string would look like:
var json = '[{"lead_req_id":"","listing_id_1_ref":"RH-R-17","listing_id_1":"17"}]';
Now you can parse it:
var getReq = jQuery.parseJSON(json);
$.each(getReq, function(index, element) {
$.each(element, function(key, value) {
console.log(key + '=' + value);
});
});
If on the other hand you already had a javascript variable, then you don't need to be parsing anything, you could directly access it:
var getReq = [{"lead_req_id":"","listing_id_1_ref":"RH-R-17","listing_id_1":"17"}];
$.each(getReq, function(index, element) {
$.each(element, function(key, value) {
console.log(key + '=' + value);
});
});
Also notice that I have used 2 $.each statements because the JSON string you have shown represents an array of some objects. The first loop goes through the array whereas the inner loop goes through the properties of each object in the array.