Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fabasoad/data-format-converter-action
- Owner: fabasoad
- License: mit
- Created: 2022-10-17T08:17:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-04T14:13:02.000Z (7 months ago)
- Last Synced: 2024-10-15T17:23:53.327Z (4 months ago)
- Topics: converter, github-action, github-actions, json, props, xml, yaml
- Homepage:
- Size: 107 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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)