Skip to content

Commit

Permalink
Updateed jeson.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zpvk committed Oct 16, 2020
1 parent d4e2a85 commit 219d810
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions jeson.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

data = '''
{
"name" : "Chuck",
"phone" : {
"type" : "intl",
"number" : "0779395415"
},
"email" : {
"hide" : "yes"}
}
'''
"name" : "Chuck",
"phone" : {
"type" : "intl",
"number" : "0779395415"
},
"email" : {
"hide" : "yes"
}
}'''

info = json.loads(data)
print('Name:', info["name"])
Expand Down

0 comments on commit 219d810

Please sign in to comment.