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 1433 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