QuestionQ156

Software Development and Design

Which Python function parses a string containing JSON data into a Python dictionary?

  • A json.dumps()
  • B json.to_json()
  • C json.parse()
  • D json.loads()
Explanation

json.loads() deserializes a JSON-formatted string into its corresponding Python object; when the JSON value is an object, the result is a Python dictionary.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!