Hi how i can parse this json string: {"Error":true, "data":["not available","somethinghere"]}
but that string i get it from an alert like this:
alert(ff.Result.value);
i need to get from that alert just the “not available” from the json string
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Most modern browsers support the JSON object:
See Browser-native JSON support (window.JSON)
An example using json2.js: