Possible Duplicate:
How to parse JSON in JavaScript
{
"data": [
{
"name": "JoongBum Lee",
"id": "526210623"
},
{
"name": "\uc774\uc778\uaddc",
"id": "560021193"
},
{
"name": "SunAh Han",
"id": "589325702"
}
]
}
i have JSON data and I want to convert this data in to javacript object
Use
JSON.parse[MDN]. It was introduced in ECMAScript 5 and is therefore not supported by <=IE7. You can find a JSON library to fill in support for older browsers, or if you use jQuery you can use$.parseJSON[jQuery docs].