|
|
@@ -42,6 +42,8 @@ public class YamlUtils { |
|
|
// 创建Yaml实例 |
|
|
// 创建Yaml实例 |
|
|
Yaml yaml = new Yaml(representer, options); |
|
|
Yaml yaml = new Yaml(representer, options); |
|
|
|
|
|
|
|
|
|
|
|
String dump = yaml.dump(data); |
|
|
|
|
|
|
|
|
// Yaml yaml = new Yaml(options); |
|
|
// Yaml yaml = new Yaml(options); |
|
|
|
|
|
|
|
|
File directory = new File(path); |
|
|
File directory = new File(path); |
|
|
|