Python中将JSON转换为字符串可以使用json.dumps()函数。 示例: ```python import json # Sample JSON person = { 'name': 'John Doe', 'age': 23 } # Convert JSON to String string = json.dumps(person) print(string) ``` 输出: ``` {"name": "John Doe", "age": 23} ```