📅  最后修改于: 2022-03-11 15:02:45.793000             🧑  作者: Mango
var json_arr = {};
json_arr["name1"] = "value1";
json_arr["name2"] = "value2";
json_arr["name3"] = "value3";
var json_string = JSON.stringify(json_arr);