You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
179 B

11 months ago
import json
data = [{'name': '金智秀', 'sex': 18, 'song': 'flower'}, {'name': '林允儿', 'sex': 18, 'song': 'summer night'}]
json_str = json.dumps(data, ensure_ascii=False)