javascript function parse array code example Example: parse arrya var obj = JSON.parse('{ "name":"John", "age":30, "city":"New York"}');