Blog Archives

YAML with Java using the SnakeYaml library tutorial

Step 1: Add “snakeyaml” to maven pom.xml as a dependency

Step 2: Define a YAML file under src/main/resources. For example, “logging.yml

Step 3: Create a LoggingConfiguration Java POJO class.

Step 4: Finally,

Read more ›



800+ Java Q&As & tutorials

Top