Skip to content

Commit

Permalink
c1
Browse files Browse the repository at this point in the history
  • Loading branch information
zpvk committed Sep 25, 2020
1 parent bd03751 commit 8388659
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions jeson.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import json

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

info = json.loads(data)
print('Name:', info["name"])
print('Hide', info["email"]["hide"])

0 comments on commit 8388659

Please sign in to comment.