0

Having a yaml file with this structure

deployment:
   env:
      address:
        -
          name: "Bing"
          uri: "https://bing.com"
        -
          name: "Google"
          uri: "https://www.google.com"
      foo: bla

How can I get this list of object in Java without use any framework like Spring.

I've been googling this thing and I can only find Spring reference

Joachim Sauer
  • 291,719
  • 55
  • 540
  • 600
paul
  • 11,696
  • 19
  • 81
  • 134
  • This may have solution to your problem; https://stackoverflow.com/questions/25796637/parse-a-yaml-file and also there is always manual parsing if you have time to do it – BrokenFrog Nov 25 '21 at 10:19

0 Answers0