TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mari muthu
NA
198
106.9k
google map Deserialize the string Value
Apr 17 2018 2:10 AM
hi i need to deserialize the string from the responce data which i have showned below
here i need to get the Address Component 3rd index long Name and formatted adress value
{
"results"
: [
{
"address_components"
: [
{
"long_name"
:
"L-6"
,
"short_name"
:
"L-6"
,
"types"
: [
"street_number"
]
},
{
"long_name"
:
"3rd Cross Road"
,
"short_name"
:
"3rd Cross Rd"
,
"types"
: [
"route"
]
},
{
"long_name"
:
"Guindy Industrial Estate"
,
"short_name"
:
"Guindy Industrial Estate"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_3"
]
},
{
"long_name"
:
"SIDCO Industrial Estate"
,
"short_name"
:
"SIDCO Industrial Estate"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_2"
]
},
{
"long_name"
:
"Guindy"
,
"short_name"
:
"Guindy"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_1"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"locality"
,
"political"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"administrative_area_level_2"
,
"political"
]
},
{
"long_name"
:
"Tamil Nadu"
,
"short_name"
:
"TN"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
},
{
"long_name"
:
"600032"
,
"short_name"
:
"600032"
,
"types"
: [
"postal_code"
]
}
],
"formatted_address"
:
"L-6, 3rd Cross Rd, Guindy Industrial Estate, SIDCO Industrial Estate, Guindy, Chennai, Tamil Nadu 600032, India"
,
"geometry"
: {
"location"
: {
"lat"
: 13.011156,
"lng"
: 80.208122
},
"location_type"
:
"ROOFTOP"
,
"viewport"
: {
"northeast"
: {
"lat"
: 13.0125049802915,
"lng"
: 80.20947098029151
},
"southwest"
: {
"lat"
: 13.0098070197085,
"lng"
: 80.20677301970849
}
}
},
"place_id"
:
"ChIJld8ZdEBnUjoRv2vkDD_qGuE"
,
"types"
: [
"street_address"
]
},
{
"address_components"
: [
{
"long_name"
:
"Guindy Industrial Estate"
,
"short_name"
:
"Guindy Industrial Estate"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_3"
]
},
{
"long_name"
:
"SIDCO Industrial Estate"
,
"short_name"
:
"SIDCO Industrial Estate"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_2"
]
},
{
"long_name"
:
"Guindy"
,
"short_name"
:
"Guindy"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_1"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"locality"
,
"political"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"administrative_area_level_2"
,
"political"
]
},
{
"long_name"
:
"Tamil Nadu"
,
"short_name"
:
"TN"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
},
{
"long_name"
:
"600032"
,
"short_name"
:
"600032"
,
"types"
: [
"postal_code"
]
}
],
"formatted_address"
:
"Guindy Industrial Estate, SIDCO Industrial Estate, Guindy, Chennai, Tamil Nadu 600032, India"
,
"geometry"
: {
"bounds"
: {
"northeast"
: {
"lat"
: 13.0140719,
"lng"
: 80.21289609999999
},
"southwest"
: {
"lat"
: 13.00762,
"lng"
: 80.20229499999999
}
},
"location"
: {
"lat"
: 13.0100275,
"lng"
: 80.2084273
},
"location_type"
:
"APPROXIMATE"
,
"viewport"
: {
"northeast"
: {
"lat"
: 13.0140719,
"lng"
: 80.21289609999999
},
"southwest"
: {
"lat"
: 13.00762,
"lng"
: 80.20229499999999
}
}
},
"place_id"
:
"ChIJ6dkybUBnUjoR9o7onXazXmE"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_3"
]
},
{
"address_components"
: [
{
"long_name"
:
"SIDCO Industrial Estate"
,
"short_name"
:
"SIDCO Industrial Estate"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_2"
]
},
{
"long_name"
:
"Guindy"
,
"short_name"
:
"Guindy"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_1"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"locality"
,
"political"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"administrative_area_level_2"
,
"political"
]
},
{
"long_name"
:
"Tamil Nadu"
,
"short_name"
:
"TN"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
}
],
"formatted_address"
:
"SIDCO Industrial Estate, Guindy, Chennai, Tamil Nadu, India"
,
"geometry"
: {
"bounds"
: {
"northeast"
: {
"lat"
: 13.021967,
"lng"
: 80.220556
},
"southwest"
: {
"lat"
: 13.00762,
"lng"
: 80.19865799999999
}
},
"location"
: {
"lat"
: 13.0144557,
"lng"
: 80.2126109
},
"location_type"
:
"APPROXIMATE"
,
"viewport"
: {
"northeast"
: {
"lat"
: 13.021967,
"lng"
: 80.220556
},
"southwest"
: {
"lat"
: 13.00762,
"lng"
: 80.19865799999999
}
}
},
"place_id"
:
"ChIJlaIMZBVnUjoRRy-aqVRfCrQ"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_2"
]
},
{
"address_components"
: [
{
"long_name"
:
"Guindy"
,
"short_name"
:
"Guindy"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_1"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"locality"
,
"political"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"administrative_area_level_2"
,
"political"
]
},
{
"long_name"
:
"Tamil Nadu"
,
"short_name"
:
"TN"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
}
],
"formatted_address"
:
"Guindy, Chennai, Tamil Nadu, India"
,
"geometry"
: {
"bounds"
: {
"northeast"
: {
"lat"
: 13.021967,
"lng"
: 80.2408241
},
"southwest"
: {
"lat"
: 12.9914489,
"lng"
: 80.19865799999999
}
},
"location"
: {
"lat"
: 13.0102357,
"lng"
: 80.21565100000001
},
"location_type"
:
"APPROXIMATE"
,
"viewport"
: {
"northeast"
: {
"lat"
: 13.021967,
"lng"
: 80.2408241
},
"southwest"
: {
"lat"
: 12.9914489,
"lng"
: 80.19865799999999
}
}
},
"place_id"
:
"ChIJfQqkmnBnUjoRUCdR_JWGNMo"
,
"types"
: [
"political"
,
"sublocality"
,
"sublocality_level_1"
]
},
{
"address_components"
: [
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"locality"
,
"political"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"administrative_area_level_2"
,
"political"
]
},
{
"long_name"
:
"Tamil Nadu"
,
"short_name"
:
"TN"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
}
],
"formatted_address"
:
"Chennai, Tamil Nadu, India"
,
"geometry"
: {
"bounds"
: {
"northeast"
: {
"lat"
: 13.2611661,
"lng"
: 80.33632279999999
},
"southwest"
: {
"lat"
: 12.8338848,
"lng"
: 80.0817007
}
},
"location"
: {
"lat"
: 13.0826802,
"lng"
: 80.27071840000001
},
"location_type"
:
"APPROXIMATE"
,
"viewport"
: {
"northeast"
: {
"lat"
: 13.2611661,
"lng"
: 80.33632279999999
},
"southwest"
: {
"lat"
: 12.8338848,
"lng"
: 80.0817007
}
}
},
"place_id"
:
"ChIJYTN9T-plUjoRM9RjaAunYW4"
,
"types"
: [
"locality"
,
"political"
]
},
{
"address_components"
: [
{
"long_name"
:
"600032"
,
"short_name"
:
"600032"
,
"types"
: [
"postal_code"
]
},
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"locality"
,
"political"
]
},
{
"long_name"
:
"Tamil Nadu"
,
"short_name"
:
"TN"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
}
],
"formatted_address"
:
"Chennai, Tamil Nadu 600032, India"
,
"geometry"
: {
"bounds"
: {
"northeast"
: {
"lat"
: 13.0283756,
"lng"
: 80.2250358
},
"southwest"
: {
"lat"
: 12.9969577,
"lng"
: 80.1933729
}
},
"location"
: {
"lat"
: 13.0177153,
"lng"
: 80.2056743
},
"location_type"
:
"APPROXIMATE"
,
"viewport"
: {
"northeast"
: {
"lat"
: 13.0283756,
"lng"
: 80.2250358
},
"southwest"
: {
"lat"
: 12.9969577,
"lng"
: 80.1933729
}
}
},
"place_id"
:
"ChIJhe7-5z9nUjoRUYyAIGuNq9Y"
,
"types"
: [
"postal_code"
]
},
{
"address_components"
: [
{
"long_name"
:
"Chennai"
,
"short_name"
:
"Chennai"
,
"types"
: [
"administrative_area_level_2"
,
"political"
]
},
{
"long_name"
:
"Tamil Nadu"
,
"short_name"
:
"TN"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
}
],
"formatted_address"
:
"Chennai, Tamil Nadu, India"
,
"geometry"
: {
"bounds"
: {
"northeast"
: {
"lat"
: 13.1445431,
"lng"
: 80.310333
},
"southwest"
: {
"lat"
: 12.933583,
"lng"
: 80.18449409999999
}
},
"location"
: {
"lat"
: 13.0587471,
"lng"
: 80.254435
},
"location_type"
:
"APPROXIMATE"
,
"viewport"
: {
"northeast"
: {
"lat"
: 13.1445431,
"lng"
: 80.310333
},
"southwest"
: {
"lat"
: 12.933583,
"lng"
: 80.18449409999999
}
}
},
"place_id"
:
"ChIJ7015dmlmUjoRAqlpl1kIAxs"
,
"types"
: [
"administrative_area_level_2"
,
"political"
]
},
{
"address_components"
: [
{
"long_name"
:
"Chennai Metropolitan Area"
,
"short_name"
:
"Chennai Metropolitan Area"
,
"types"
: [
"political"
]
},
{
"long_name"
:
"Tamil Nadu"
,
"short_name"
:
"TN"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
}
],
"formatted_address"
:
"Chennai Metropolitan Area, Tamil Nadu"
,
"geometry"
: {
"bounds"
: {
"northeast"
: {
"lat"
: 13.29631,
"lng"
: 80.3533479
},
"southwest"
: {
"lat"
: 12.8338848,
"lng"
: 80.01402849999999
}
},
"location"
: {
"lat"
: 13.1262694,
"lng"
: 80.23213129999999
},
"location_type"
:
"APPROXIMATE"
,
"viewport"
: {
"northeast"
: {
"lat"
: 13.29631,
"lng"
: 80.3533479
},
"southwest"
: {
"lat"
: 12.8338848,
"lng"
: 80.01402849999999
}
}
},
"place_id"
:
"ChIJp07pkMJmUjoRppFFd1PO5Dc"
,
"types"
: [
"political"
]
},
{
"address_components"
: [
{
"long_name"
:
"Tamil Nadu"
,
"short_name"
:
"TN"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
}
],
"formatted_address"
:
"Tamil Nadu, India"
,
"geometry"
: {
"bounds"
: {
"northeast"
: {
"lat"
: 13.496666,
"lng"
: 80.3464511
},
"southwest"
: {
"lat"
: 8.0690069,
"lng"
: 76.23055409999999
}
},
"location"
: {
"lat"
: 11.1271225,
"lng"
: 78.6568942
},
"location_type"
:
"APPROXIMATE"
,
"viewport"
: {
"northeast"
: {
"lat"
: 13.496666,
"lng"
: 80.3464511
},
"southwest"
: {
"lat"
: 8.0690069,
"lng"
: 76.23055409999999
}
}
},
"place_id"
:
"ChIJM5YYsYLFADsR8GEzRsx1lFU"
,
"types"
: [
"administrative_area_level_1"
,
"political"
]
},
{
"address_components"
: [
{
"long_name"
:
"India"
,
"short_name"
:
"IN"
,
"types"
: [
"country"
,
"political"
]
}
],
"formatted_address"
:
"India"
,
"geometry"
: {
"bounds"
: {
"northeast"
: {
"lat"
: 35.5087008,
"lng"
: 97.39535869999999
},
"southwest"
: {
"lat"
: 6.4626999,
"lng"
: 68.1097
}
},
"location"
: {
"lat"
: 20.593684,
"lng"
: 78.96288
},
"location_type"
:
"APPROXIMATE"
,
"viewport"
: {
"northeast"
: {
"lat"
: 35.5087008,
"lng"
: 97.39535869999999
},
"southwest"
: {
"lat"
: 6.4626999,
"lng"
: 68.1097
}
}
},
"place_id"
:
"ChIJkbeSa_BfYzARphNChaFPjNc"
,
"types"
: [
"country"
,
"political"
]
}
],
"status"
:
"OK"
}
Reply
Answers (
1
)
C# Display datetimepicker in popup mode with @yyyy only?????
How to enable CORS on your Web API Frame Work 4.0