Access element in json having numerical index

Posted by hunt on Stack Overflow See other posts from Stack Overflow or by hunt
Published on 2010-04-29T16:33:26Z Indexed on 2010/04/29 16:37 UTC
Read the original article Hit count: 275

Filed under:
|
|

i have following format of json in which i want to asscess 0.4 , kem , 2 , 2000 values but it seems it doesn't have name index so how one can access it in jquery.

when i paste following code in json viewer then i am getting numerical index for 0.4 , kem , 2

"td": [
    {
        "@attributes": {
            "class": "odd" 
        },
        "span": [
            "3",
            "7" 
        ] 
    },
    "0.4",
    "Kem",
    "24\/04\/2010",
    "2000",
    "2",
    "14000",
    "Good",
    "Buckley",
    "56.0",
    "2:05.32",
    "36.65",
    "54.5" 
]
}

© Stack Overflow or respective owner

Related posts about JSON

Related posts about jQuery