pip install simplejson python import simplejson as json json_data = '{"name": "John", "age": 30, "city": "New York"}' data = json.loads(json_data) person = { "name": "John", "age": 30, "city": "New York" } json_data = json.dumps(person)


上一篇:
下一篇:
切换中文