DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to convert string to object in JS??
const string = '{"name":"paresh","age":34,"professional":"coder"}'; const obj=JSON.parse(string)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#string
#object
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit