0 of 6 questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Your time:
Time has elapsed
Good work attempting the practice problems!
Please leave a comment below if you require any clarifications or send an email to [email protected] if you have any comments about this quiz.
You have completed this lesson!
Write a python program that shows the use of JSON Package? Serialize the following variable into a json string and store it into a variable.
a ={“name”:”John”,
“age”:31,
“Salary”:25000}
This response will be reviewed and graded after submission.
Use the output from the previous program and write a python program that convert a JSON string into dictionary?
The string output from the previous program is:
{“name”: “John”, “age”: 31, “Salary”: 25000}
This response will be reviewed and graded after submission.
Write a python program that write data into a json file?
Given:
person_data = {“name”:”John”,”age”:31,”Salary”:25000}
This response will be reviewed and graded after submission.
Write a python program that reads a json file and (containing a dictionary) and then stores those values into a dictionary object.
This response will be reviewed and graded after submission.
Write a python program that converts a string into JSON object?
This response will be reviewed and graded after submission.
Write a python program to Convert Python objects into JSON strings, and print the values?
This response will be reviewed and graded after submission.