在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
{ "CAN": false, "AccCode": 4294901856, "Id": 768, "BPointMove": true, "L_BPointMoveDelay": "600", "R_BPointMoveDelay": "1000" }
1.Read try { using (StreamReader file = File.OpenText("config.json")) 2.Write try { string json = File.ReadAllText("config.json"); dynamic jsonObj = Newtonsoft.Json.JsonConvert.DeserializeObject(json); jsonObj["L_BPointMoveDelay"] = LBPointdelay.ToString(); string output = Newtonsoft.Json.JsonConvert.SerializeObject(jsonObj, Newtonsoft.Json.Formatting.Indented); File.WriteAllText("config.json", output); } catch { } |
请发表评论