下面Python代码的输出结果正确的是?( )
import json data = { "name": "Alice", "age": 25, "city": "New York" } text = json.dumps(data) print(text)
["name": "Alice", "age": 25, "city": "New York"]
{'name': "Alice", 'age': 25, 'city': "New York"}
{"name": "Alice", "age": 25, "city": "New York"}
{'name': 'Alice', 'age': 25, 'city': 'New York'}