随笔 - 5  文章 - 0 评论 - 0 阅读 - 12200
< 2025年6月 >
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12

摘要: 另外:多层节点可以用以下代码提取。 JObject json4 = (JObject)JsonConvert.DeserializeObject(array1[2].ToString()); string goout_duration = json4["value"]["attendance"][" 阅读全文
posted @ 2020-12-14 17:28 OolongTea 阅读(278) 评论(0) 推荐(0)
摘要: json形如(企业微信审核接口返回结果) { "errcode": 0, "errmsg": "ok. Warning: wrong json format. ", "info": { "sp_no": "202011300016", "sp_name": "请假", "sp_status": 2, 阅读全文
posted @ 2020-12-12 15:26 OolongTea 阅读(816) 评论(0) 推荐(0)
摘要: 1.利用Math.round()的方法: 两个int型的数相除,结果保留小数点后两位: int a=1188; int b=93; double c; c=(double)(Math.round(a/b)/100.0);//这样为保持2位 打印结果:c=0.12 c=new Double(Math. 阅读全文
posted @ 2020-12-03 20:56 OolongTea 阅读(9212) 评论(0) 推荐(0)
摘要: Eclipse设置自动提示可通过以下方式实现, 1、运行Eclipse开发工具,在开发工具最顶端菜单栏,点击“windows”->"preferences",弹出preferences设置窗口。 2、在preferences中找到Java,依次展开列表"Editor"->"Content Assis 阅读全文
posted @ 2020-11-16 22:26 OolongTea 阅读(230) 评论(0) 推荐(0)
摘要: 解决方案:去eclipse的安装路径找到eclipse.ini文件,然后在头部指定JVM的版本(第一第二行) -vm C:/Program Files/Java/jdk-11.0.9/bin -startup plugins/org.eclipse.equinox.launcher_1.5.800. 阅读全文
posted @ 2020-11-16 22:09 OolongTea 阅读(1664) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示