yakubique/JSON Utils
A collection of handy utilities for working with JSON in GitHub Actions, making it easier to manipulate JSON data.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| input | JSON string/Value from other action | yes | — |
| secondary | Secondary JSON string/Value from other action (useful for some actions) | — | — |
| action | What to do with input JSON (available: "diff", "get", "pick", "sort", "concat", "chunk", "none") | yes | — |
| type | Type of input data `["flat-json", "nested-json"]` (default: "flat-json") | — | flat-json |
| key | If `type="nested-json"` - which key should be used | — | — |
| modifier | Suitable modifier for performed action (ex: 'ASC'/'DESC' for 'sort') | — | — |
| from_file | Load input from file (applied to secondary too) | — | false |
| to_file | Output to file | — | false |
| space | `space` parameter to JSON.stringify as a number | — | — |
Outputs
| name | description |
|---|---|
| result | Processed JSON |