io.codearte.props2yaml:props2yaml

Properties to YAML converter library

License

License

GroupId

GroupId

io.codearte.props2yaml
ArtifactId

ArtifactId

props2yaml
Last Version

Last Version

0.5
Release Date

Release Date

Type

Type

takari-jar
Description

Description

Properties to YAML converter library

Download props2yaml

Dependencies

compile (2)

Group / Artifact Type Version
org.yaml : snakeyaml jar 1.16
org.slf4j : slf4j-api jar 1.7.12

test (3)

Group / Artifact Type Version
org.slf4j : slf4j-simple jar 1.7.12
org.codehaus.groovy : groovy-all jar 2.4.5
org.spockframework : spock-core jar 1.0-groovy-2.4

Project Modules

There are no modules declared in this project.

Properties to YAML Converter

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

io.codearte.props2yaml

Versions

Version
0.5
0.4.1
0.4
0.3
0.2
0.1