Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 39 of 166
Free Preview · 166 of 552 · questions 1–166 of 552 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Key-Value Mapping: Common hierarchical data formats like JSON and YAML naturally structure data using objects/maps (key-value pairs) and arrays (ordered lists).
It is C – dictionary because: Definition of parsing: to divide (a sentence) into grammatical parts and identify the parts and their relations to each other Each item in a dictionary is a (key, value) pair. You need to perform parsing action for each item, in order to get either the key data or the value data.
JSON: JSON data can be parsed into a Python dictionary using the json.loads() function from the built-in json module. This function takes a JSON string as input and returns a dictionary representing the data.