Quiz on Python JSON Handling



1. What is the primary purpose of JSON in Python?
2. Which Python module is used to work with JSON data?
3. How do you convert a Python object into a JSON string?
4. Which method is used to read JSON data from a file?
5. What does the json.loads() method do?

Advertisements