Skip to content
CodeKruPro

What json.load gives back

QuizEasy-MediumPython only

Which statements about the json module are true? Pick all that apply.

  • A JSON object becomes a dict and an array becomes a list
  • JSON null becomes None and true becomes True
  • json.loads("{'a': 1}") works
  • json.load reads from a file object; json.loads reads from a string

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in