it-tools
it-tools copied to clipboard
[NEW TOOL] Properties to YAML converter
trafficstars
What tool do you want?
A properties to yaml converter.
properties are mainly used in Java for configuration files.
Describe the solution you'd like
The tool should allow to provide a content in properties format, and obtain the equivalent in yaml format.
Possibly the reverse could also be interesting.
i.e.
# Server
server.port= 8080
server.http2.enabled= true
server.ssl.enabled= true
server.ssl.key-alias= localhost
# Database
spring.datasource.url= jdbc:mysql://localhost:3306/db
spring.datasource.username= root
spring.datasource.password= 1234
# Server
server:
port: 8080
http2:
enabled: true
ssl:
enabled: true
key-alias: localhost
# Database
spring:
datasource:
url: jdbc:mysql://localhost:3306/db
username: root
password: 1234
Is their example of this tool in the wild? There are several examples on the net, and there is also an Intellij plugin.
Additional context This could be useful to avoid having to use online tools or plugins, as such configuration files often contain sensitive information.
Hi @Yann39 and @CorentinTh , implemented in #820