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,
…
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,
…
Q1. What is YAML?
A1. YAML Ain’t Markup Language. It is a human friendly data serialization standard for all programming languages. A YAML file has an extension of “.yml“.
Q2. What are the 3 rules of YAML?
…