i have got the following JSON
[{
"T1": "cost"
}, {
"T6": "Service Tax"
}, {
"T3": "VAT"
}, {
"T4": "OtherTax2"
}, {
"T5": "OtherTax1"
}, {
"T2": "Discount"
}, {
"T7": "Service Charge"
}];
and i am able to retrive T1 value using
var t1value = myjson[0].T1;
But when i am trying to retrive T2 value why its is giving me undefined
http://jsfiddle.net/mwv6r0df/4/
Could you please tell me how can i retrieve all the values