Json Traverse Problem, not able to traverse values

Posted by Jos on Stack Overflow See other posts from Stack Overflow or by Jos
Published on 2010-06-03T06:58:47Z Indexed on 2010/06/03 7:04 UTC
Read the original article Hit count: 267

Filed under:

I m getting the below return from ajax call but not able to traverse it please please help.

{
    "1": {
        "tel1": null, 
        "status": "1", 
        "fax": "",     
        "tel2": null,  
        "name": "sh_sup1", 
        "country": "Anguilla", 
        "creation_time": "2010-06-02 14:09:40",
        "created_by": "0",
        "Id": "85",
        "fk_location_id": "3893",
        "address": "Noida",
        "email": "[email protected]",
        "website_url": "http://www.noida.in",
        "srk_main_id": "0"
    },
    "0": {
        "tel1": "Ahemdabad",
        "status": "1",
        "fax": "",
        "tel2": "Gujrat",
        "name": "Bharat Petro",
        "country": "India",
        "creation_time": "2010-05-31 15:36:53",
        "created_by": "0",
        "Id": "82",
        "fk_location_id": "3874",
        "address": "THIS is test address",
        "email": "[email protected]",
        "website_url": "http://www.bp.com",
        "srk_main_id": "0"
    },
    "count": 2
}

© Stack Overflow or respective owner

Related posts about JSON