We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50a9fa2 commit 4b36cecCopy full SHA for 4b36cec
deserialize_json_string.py
@@ -0,0 +1,10 @@
1
+import json
2
+
3
+json_data = '{"firstName": "Larry", "lastName":"Scott", "email": "larry@toricode.com"}'
4
5
+json_object = json.loads(json_data)
6
7
+print("Object type: ", type(json_object))
8
+print("First Name: ", json_object['firstName'])
9
+print("Last Name: ", json_object['lastName'])
10
+print("Email Address: ", json_object['email'])
0 commit comments