Certified Professional in Python Programming (PCPP-32-101) — Question 13
In the JSON processing context, the term serialization:
Answer options
- A. names a process in which Python data is turned into a JSON string
- B. names a process in which a JSON string is turned into Python data
- C. refers to nothing, because there is no such thing as JSON serialization
- D. names a process in which a JSON string is remodeled and transformed into a new JSON string
Correct answer: A
Explanation
The correct answer is A because serialization specifically describes the conversion of Python data types into JSON format, allowing for data interchange. Option B is incorrect as it describes deserialization, the opposite process. Option C is false because JSON serialization is a recognized concept, and option D incorrectly defines serialization, which does not involve remodeling a JSON string.