DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
convert string to object javascript
var mystr = '{ "hello":"world" }' // NB: Has enclosing "" var myobj = JSON.parse(mystr);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#string
#object
#javascript
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit