Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fabasoad/data-format-converter-action

GitHub action that converts YAML / JSON / XML / PROPS data formats interchangeably
https://github.com/fabasoad/data-format-converter-action

converter github-action github-actions json props xml yaml

Last synced: 3 months ago
JSON representation

GitHub action that converts YAML / JSON / XML / PROPS data formats interchangeably

Awesome Lists containing this project

README

        

# Data format converter action

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/fabasoad/data-format-converter-action?include_prereleases)
![functional-tests](https://github.com/fabasoad/data-format-converter-action/actions/workflows/functional-tests.yml/badge.svg)
![linting](https://github.com/fabasoad/data-format-converter-action/actions/workflows/linting.yml/badge.svg)
![security](https://github.com/fabasoad/data-format-converter-action/actions/workflows/security.yml/badge.svg)

Converts data formats interchangeably. The following formats are supported: [XML](https://www.w3schools.com/xml/),
[YAML](https://yaml.org/), [JSON](https://www.json.org/json-en.html), [PROPS](https://www.ibm.com/docs/en/was/8.5.5?topic=SSEQTP_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae/rxml_prop_file_syntax.html).

## Inputs

| Name | Required | Description | Possible values |
|-------|----------|-------------------------------------------|--------------------------------|
| input | Yes | Path to the file to be converted | _<Path>_ |
| from | Yes | Format of a data in `input` file | `json`, `xml`, `yaml`, `props` |
| to | Yes | Format of a data as a result | `json`, `xml`, `yaml`, `props` |
| token | No | The GitHub token or personal access token | _<token>_ |

## Outputs

| Name | Required | Description |
|--------|----------|--------------------------------------------------------|
| output | Yes | Converted data is in a format defined in `to` argument |

## Documentation

- [Examples](./docs/Examples.md)
- [FAQ](./docs/FAQ.md)