0

Here is an earlier discussion, which asks about - How to convert from application.properties to application.yml in Spring Boot?

The solutions discussed above work but there is a limitation with #comments.
Comments (#comments) in .properties file are not carried forward in to .yaml file after conversion.

So want to check if there is any tool (online/ide based/offline) that supports conversion with comments carried forward into .yaml file.

1 Answers1

-1
  • read each line of the properties file
    • keep track of the comments
    • put the grouped property in a data structure together with the comment
  • write the data structure to the YAML file
rioV8
  • 24,506
  • 3
  • 32
  • 49