{
"data": {
"4325474491990470056": {
"hotel_geo_node": {
"name": "The Capitol",
"property_type": [
"Hotel"
],
"property_budget_category": [
"Luxury"
],
},
"hotel_data_node": {
"rating": 4,
"stats": {
"view_count": 713,
"prc": {
"go_101": {
"p": 4950.0,
"dt": "2014-11-13",
"dp": 4950.0
},
"go_201": {
"p": 5650.0,
"dt": "2014-11-13",
"dp": 5650.0
}
},
"last_vwd": {
"time": 1418233717
},
"book_count": 1
},
"name": "The Capitol",
"vid": [
{
"u": "video",
"l": "TABObQ27j4w"
}
],
"vendor_priority": 318,
"scores": {
"vendor": 50,
"views": 699,
"trip_advisor": 324.0,
"goibibo_review": 0,
"frills": 2,
"bookings": 1,
"sub_vendor": 0,
"static_data": 76
},
"data_src": "ingoibibo",
"location_slug": "city-center",
},
"utime": {
"$date": 1418255022000
},
"st": "LIV",
"desc": {
"default": ""
},
"_id": "4325474491990470056",
"loc": {
"city": "Bangalore",
"cnt_code": "IN",
"pin": "560001",
"city_cids": {
"trm": "BLR",
"voy": "6771549831164675055"
},
"country": "INDIA",
"long": 77.5943716303,
"state": "Karnataka",
"location": "City Center - Mg Road / Near",
"lat": 12.9821798116,
"nhood": [
{
"_id": "1495661479872548865",
"t": 122,
"n": "City Center - Mg Road / Near"
},
{
"_id": "662155759444644883",
"t": 20,
"n": "Bangalore Palace"
},
{
"_id": "1527904823625587038",
"t": 20,
"n": "Bangalore Cantt Station"
},
{
"_id": "414302334487557591",
"t": 20,
"n": "Chinnaswamy Cricket Stadium"
}
]
},
}
},
I used jquery like this code . but i am not able the fetch the data bu this approach please suggest me how do i do this. it seems the there is JSON object. so i am not able to trace the whole JSON by array.
$.ajax({
url:url,
dataType:'jsonp',
crossDomain:true,
success:function(data) {
todaydate= data.data[0];
alert(todaydate);
}
});