Convert a string written in JSON format, into a JavaScript object.
I want to get name from var
<script>
var var = '{ "name":"Mindstick", "age":31, "city":"Allahabad" }';
</script>
Home / DeveloperSection / Forums / Convert a string written in JSON format, into a JavaScript object
Can you answer this question?
Answer
0 Answers