Python JSON Parsing
Multiple Choice Easy
Question
Which function converts a JSON string to a Python dict?
Hint
loads = load string.
Explanation
json.loads() (load string) parses a JSON string into a Python object (usually a dict). json.dumps() (dump string) does the reverse — converts a Python object to a JSON string. json.load() and json.dump() work with files.
Related Resources
Related Lessons
- JSON Handling
JSON parsing.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.