计划 应用流化转换
ClassPathResource resource = new ClassPathResource("targets.json");
InputStreamReader inputStreamReader = new InputStreamReader(resource.getInputStream());
String json = new JSONReader(inputStreamReader).readString();
// 转换成 dto 对象
targetData = JSONObject.toJavaObject(JSONObject.parseObject(readJsonFile(json)), TargetData.class);