forum

Home / DeveloperSection / Forums / Convert a string written in JSON format, into a JavaScript object

Convert a string written in JSON format, into a JavaScript object

Anonymous User 1247 15-Apr-2018

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>

Updated on 15-Apr-2018
I am a content writter !

Can you answer this question?


Answer

0 Answers

Liked By