DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
python json string to object
import json x = '{ "name":"John", "age":30, "city":"New York"}' y = json.loads(x) print(y["age"])
PREVIOUS
NEXT
Tagged:
#python
#json
#string
#object
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit