https://github.com/codearte/props2yaml
https://github.com/codearte/props2yaml
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codearte/props2yaml
- Owner: Codearte
- License: apache-2.0
- Created: 2015-06-02T08:09:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T02:17:04.000Z (over 5 years ago)
- Last Synced: 2025-03-29T05:41:39.546Z (11 months ago)
- Language: Java
- Size: 112 KB
- Stars: 39
- Watchers: 7
- Forks: 16
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[Properties to YAML Converter](https://props2yaml-codearte2foss.rhcloud.com/conversion)
===
[](https://travis-ci.org/Codearte/props2yaml) [](https://coveralls.io/github/Codearte/props2yaml?branch=master) [](https://maven-badges.herokuapp.com/maven-central/io.codearte.props2yaml/props2yaml)
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](https://plugins.jetbrains.com/plugin/8000)" which provides easy way of using this library
Online converter: https://props2yaml-codearte2foss.rhcloud.com/conversion