📜  python json字符串到对象 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:47.148000             🧑  作者: Mango

代码示例2
# a Python object (dict):
x = {
  "name": "John",
  "age": 30,
  "city": "New York"
}

# convert into JSON:
y = json.dumps(x)