String filename = "test.json";
//读取json文件
File file = new File(filename);
StringBuffer sub = new StringBuffer();
BufferedReader in = null;
try {
in = new BufferedReader(</
Java-读取json文件
最新推荐文章于 2024-06-23 23:15:50 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
String filename = "test.json";
//读取json文件
File file = new File(filename);
StringBuffer sub = new StringBuffer();
BufferedReader in = null;
try {
in = new BufferedReader(</