Question 1 of 5
What does json.dumps(data) return?
dumps() serializes the Python value into a JSON-formatted str.
Review this lesson
Check your understanding of JSON serialization, deserialization, JSON files, mappings, and invalid input.
Knowledge check
Check your understanding of JSON serialization, deserialization, JSON files, mappings, and invalid input.
You can retake this quiz whenever you like.
Question 1 of 5
Question 2 of 5
Question 3 of 5
Question 4 of 5
Question 5 of 5