Skip to content

Commit 8388659

Browse files
committed
c1
1 parent bd03751 commit 8388659

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

jeson.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import json
2+
3+
data = """
4+
5+
"name" : "Chuck",
6+
"phone" : {
7+
"type" : "intl",
8+
"number" : "0779395415"
9+
},
10+
"email" : {
11+
"hide" : "yes"
12+
}
13+
14+
"""
15+
16+
info = json.loads(data)
17+
print('Name:', info["name"])
18+
print('Hide', info["email"]["hide"])

0 commit comments

Comments
 (0)