Yaml yaml = new Yaml(); String test=""; Object param = yaml.load(test); Map<String,Object> param = JSONObject.parseObject(JSON.toJSONString(yamlData));
java获取ymlString格式传参的解析方法
最新推荐文章于 2024-06-13 10:47:03 发布
Yaml yaml = new Yaml(); String test=""; Object param = yaml.load(test); Map<String,Object> param = JSONObject.parseObject(JSON.toJSONString(yamlData));