A Maven plugin that converts between JSON and YAML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
travis
.editorconfig
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

yak4j-json-yaml-converter-maven-plugin

A Maven plugin which converts between JSON and YAML formats.

Build Status Maven Central Coverage Status

Maven

<plugin>
  <groupId>com.github.ngeor</groupId>
  <artifactId>yak4j-json-yaml-converter-maven-plugin</artifactId>
  <version>0.0.4</version>
</plugin>

yaml2json

Converts YAML files to JSON.

Example

<plugin>
  <groupId>com.github.ngeor</groupId>
  <artifactId>yak4j-json-yaml-converter-maven-plugin</artifactId>
  <version>0.0.4</version>
  <executions>
    <execution>
      <id>yaml2json</id>
      <goals>
        <goal>yaml2json</goal>
      </goals>
      <configuration>
        <sourceDirectory>src/main/yaml</sourceDirectory>
        <includes>
          <include>*.yml</include>
        </includes>
        <outputDirectory>target/json</outputDirectory>
      </configuration>
    </execution>
  </executions>
</plugin>