How to access a String that is in JSON array format
Posted
by Sayem Ahmed
on Stack Overflow
See other posts from Stack Overflow
or by Sayem Ahmed
Published on 2010-03-20T09:48:17Z
Indexed on
2010/03/20
9:51 UTC
Read the original article
Hit count: 448
I have an asp.net page which is returning a list of object as a json string to an ajax request. The string is as follows :
[
{"Name":"Don","Age":23,"Description":"Tall man with no glasses"}
,{"Name":"Charlie","Age":24,"Description":"Short man with glasses"}
]
I want to access each field individually, like the name of the person, his age, his description etc.
How can I do that? I am using JQuery for client-side scripting.
© Stack Overflow or respective owner