AuthMe / ConfigMe

A simple configuration management library for any Java project!
MIT License
37 stars 14 forks source link

Change to SnakeYAML engine #337

Open ljacqu opened 1 year ago

ljacqu commented 1 year ago

It might be interesting to replace SnakeYAML with SnakeYAML engine, which explicitly does not support beans: https://bitbucket.org/snakeyaml/snakeyaml-engine/src/master/ This is fine for our use case, since we dissect beans before exporting them, and also construct them based on simple maps. It would probably be safer to use the engine that is guaranteed not to build any weird Java objects based on YAML.