From 8388659769a41a29de502417558644c4690a1cc0 Mon Sep 17 00:00:00 2001 From: Rohan Kumara <31560310+rohankumara@users.noreply.github.com> Date: Fri, 25 Sep 2020 17:32:45 +0530 Subject: [PATCH] c1 --- jeson.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 jeson.py diff --git a/jeson.py b/jeson.py new file mode 100644 index 0000000..1818928 --- /dev/null +++ b/jeson.py @@ -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"]) \ No newline at end of file