Q:

How to access element in JSON and Javascript

How do I access something like this with Javascript and Jquery?
"condition" : [{"conditionId":["3000"],"conditionDisplayName":["Used"]}]

(this is just an excerpt)
I tried using item.condition and I got:
[{"conditionId":["3000"],"conditionDisplayName":["Used"]}] as a result.   
How do I get the conditionDisplayName?   
I've also tried using : item.condition.conditionDisplayName but it doesn't work nor does item.condition[1]

A:

You're almost there but your condition is an array with one object so you need to use the array notation to access it:
var displayName = item.condition[0].conditionDisplayName;

If there could be more than one object in the array, you can use a loop:
for(var i=0; i<item.condition.length; i++) {
    console.log( item.condition[i].conditionDisplayName );
}

