Python - Structured Data Files
Which of the following is the correct syntax to serialize a Python dictionary
data into a JSON string?data into a JSON string?json.dumps() converts Python objects to JSON strings.json.loads() deserializes JSON strings, json.dump() writes JSON to a file, and json.load() reads JSON from a file.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions