{"id":16761454,"url":"https://github.com/mrkara/json-utilities","last_synced_at":"2026-05-07T09:33:57.332Z","repository":{"id":230278718,"uuid":"778974907","full_name":"mrkara/json-utilities","owner":"mrkara","description":"Bash scripts designed to work with JSON files","archived":false,"fork":false,"pushed_at":"2024-03-28T20:18:45.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T17:40:31.229Z","etag":null,"topics":["ai-generated","bash-script","json"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrkara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-28T19:30:08.000Z","updated_at":"2024-03-28T19:32:28.000Z","dependencies_parsed_at":"2024-04-02T09:15:07.545Z","dependency_job_id":null,"html_url":"https://github.com/mrkara/json-utilities","commit_stats":null,"previous_names":["mrkara/json-utilities"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrkara/json-utilities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkara%2Fjson-utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkara%2Fjson-utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkara%2Fjson-utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkara%2Fjson-utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrkara","download_url":"https://codeload.github.com/mrkara/json-utilities/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkara%2Fjson-utilities/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-generated","bash-script","json"],"created_at":"2024-10-13T04:42:39.730Z","updated_at":"2026-05-07T09:33:57.316Z","avatar_url":"https://github.com/mrkara.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON Utilities\n\nThis repository contains two Bash scripts designed to work with JSON files: `json-merger.sh` for merging multiple JSON files into a single file, and `json-linter.sh` for validating JSON files.\n\n## json-merger.sh\n\n`json-merger.sh` is a simple Bash script designed to merge multiple JSON files into a single JSON file containing a JSON array of the objects from the input files. This tool is especially useful when dealing with multiple configurations or data files in JSON format that need to be combined into a single file for processing or analysis.\n\n### Features\n\n- Combines multiple JSON files into a single JSON file.\n- Ensures the output is a valid JSON file by wrapping the contents in a JSON array.\n- Simple and easy to use, requiring only the Bash shell.\n\n### Installation \u0026 Usage\n\n1. Clone this repository or download the `json-merger.sh` file directly.\n2. Make the script executable: `chmod +x json-merger.sh`.\n3. Use the script by running: `./json-merger.sh jsonFile1.json jsonFile2.json [...jsonFileN.json]`.\n\n## json-linter.sh\n\n`json-linter.sh` is a Bash script for validating JSON files. It uses `jq` to check if a given JSON file is valid. If the file is valid, the script outputs \"Valid JSON\"; otherwise, it prints \"Invalid JSON\".\n\n### Prerequisites\n\n- `jq` must be installed on your system to use `json-linter.sh`.\n\n### Installation \u0026 Usage\n\n1. Clone this repository or download the `json-linter.sh` file directly.\n2. Make the script executable: `chmod +x json-linter.sh`.\n3. Use the script by running: `./json-linter.sh jsonFile.json`.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a pull request.\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the LICENSE file for details.\n\n## Disclaimer\n\nThis repository and its content were generated by ChatGPT. While efforts have been made to ensure the scripts function as expected, they come with no guarantees or warranties. Users should review and test the scripts before using them in production environments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkara%2Fjson-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrkara%2Fjson-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkara%2Fjson-utilities/lists"}