java 两行代码解析json文件

public void JsonRead() throws IOException{
    String str = FileUtils.readFileToString(new File("D:/pump.json"), "UTF-8");
    Map map = (Map) JsonUtil.parse(str);
}

猜你喜欢

转载自www.cnblogs.com/ajya/p/10701138.html