Python - Structured Data Files
Which function is used to convert a Python dictionary to a JSON string?
Which function is used to convert a Python dictionary to a JSON string?
json.dumps() converts a Python object to a JSON string.json.loads() parses a JSON string to a Python object; json.dump() writes JSON to a file; json.load() reads JSON from a file.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions