Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.3 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.3 KB

Build Status Coverage Status Maven Central

Library usage:

String yaml = Props2YAML.fromContent(content).convert();
String yaml = Props2YAML.fromFile(file).convert();
String yaml = Props2YAML.fromFile(path).convert();

or from command line:

$ mvn io.codearte.props2yaml:props2yaml-maven-plugin:convert -Dproperties=application.properties

or

$ wget http://central.maven.org/maven2/io/codearte/props2yaml/props2yaml/0.3/props2yaml-0.3-jar-with-dependencies.jar
$ java -jar props2yaml-0.3-jar-with-dependencies.jar application.properties

There is also IntelliJ IDEA plugin called "Properties to YAML Converter" which provides easy way of using this library

Online converter: https://props2yaml-codearte2foss.rhcloud.com/conversion