{"id":17968836,"url":"https://github.com/matthiasdiener/ripjson","last_synced_at":"2025-03-25T10:32:40.258Z","repository":{"id":57660961,"uuid":"178062722","full_name":"matthiasdiener/ripjson","owner":"matthiasdiener","description":"A fast and lean way to grep in JSON files.","archived":false,"fork":false,"pushed_at":"2023-10-26T14:17:42.000Z","size":38,"stargazers_count":21,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T01:11:18.763Z","etag":null,"topics":["grep","json","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthiasdiener.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"publiccode":null,"codemeta":null},"funding":{"github":["matthiasdiener"]}},"created_at":"2019-03-27T19:38:20.000Z","updated_at":"2023-02-10T08:32:46.000Z","dependencies_parsed_at":"2024-10-29T15:03:51.844Z","dependency_job_id":null,"html_url":"https://github.com/matthiasdiener/ripjson","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"aa6b8cf49b39913216f3d0b77e534ba67c8171fe"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthiasdiener%2Fripjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthiasdiener%2Fripjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthiasdiener%2Fripjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthiasdiener%2Fripjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthiasdiener","download_url":"https://codeload.github.com/matthiasdiener/ripjson/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245444474,"owners_count":20616388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["grep","json","rust"],"created_at":"2024-10-29T14:41:42.635Z","updated_at":"2025-03-25T10:32:39.838Z","avatar_url":"https://github.com/matthiasdiener.png","language":"Rust","funding_links":["https://github.com/sponsors/matthiasdiener"],"categories":[],"sub_categories":[],"readme":"# ripjson\nA fast and lean way to grep in JSON files.\n\n## Installation\n\n``` console\n$ cargo install ripjson\n```\n\n## Usage\n\n    Usage: rj \u003cregex\u003e \u003cfiles\u003e [options]\n\n    Options:\n        -i, --ignore-case   Search case insensitively.\n        -s, --sensitive-case\n                            Search case sensitively [default].\n        -h, --help          Print this help menu.\n        -v, --version       Print version.\n            --color \u003cWHEN\u003e  Color output.\n                            WHEN can be never, always, or auto [default].\n\nPrints all JSON keys and values in `\u003cfiles\u003e` whose keys match `\u003cregex\u003e`.\n\n`\u003cregex\u003e` specifies for which JSON keys to search for. Separate path elements\nwith a `/`, e.g. `user/name`, similar to the JSON pointer syntax specfied in\nhttps://tools.ietf.org/html/rfc6901.\n\n## Example\n\n``` console\n$ cat test.json\n{\n    \"name\": \"John Doe\",\n    \"age\": 43,\n    \"address\": {\n        \"street\": \"10 Downing Street\",\n        \"city\": \"London\"\n    },\n    \"phones\": [\n        \"+44 1234567\",\n        \"+44 2345678\"\n    ]\n}\n\n$ rj '.*es.*' test.json\naddress/street = \"10 Downing Street\"\naddress/city = \"London\"\nphones = \"+44 1234567\"\nphones = \"+44 2345678\"\n\n$ rj '.*es.*/cit' test.json\naddress/city = \"London\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthiasdiener%2Fripjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthiasdiener%2Fripjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthiasdiener%2Fripjson/lists"}