yakubique/Filter JSON
GitHub Action filters JSON values based on predefined criteria, extracting and retaining desired values.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| input | JSON to filter | 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 | — | — |
| values | Values to filter from JSON, comma separated | yes | — |
| from_file | Get JSON from file | — | false |
| to_file | Output to JSON file | — | — |
Outputs
| name | description |
|---|---|
| result | Input JSON minus `values` (JSON or filepath, depends on `to_file`) |