{"id":15372460,"url":"https://github.com/wkentaro/jqk","last_synced_at":"2025-04-15T12:31:27.455Z","repository":{"id":182334090,"uuid":"653633705","full_name":"wkentaro/jqk","owner":"wkentaro","description":"Render a JSON with jq patterns.","archived":false,"fork":false,"pushed_at":"2023-08-20T02:00:07.000Z","size":439,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T21:02:38.214Z","etag":null,"topics":["command-line","command-line-tool","jq","json"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wkentaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-06-14T12:30:18.000Z","updated_at":"2024-10-02T09:49:03.000Z","dependencies_parsed_at":"2024-11-08T11:13:38.085Z","dependency_job_id":null,"html_url":"https://github.com/wkentaro/jqk","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"8e53f19f2fdcec7ac2be7e53cfe75f0f5ac7ebd3"},"previous_names":["wkentaro/jqk"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkentaro%2Fjqk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkentaro%2Fjqk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkentaro%2Fjqk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkentaro%2Fjqk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkentaro","download_url":"https://codeload.github.com/wkentaro/jqk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358603,"owners_count":21090405,"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":["command-line","command-line-tool","jq","json"],"created_at":"2024-10-01T13:51:07.532Z","updated_at":"2025-04-15T12:31:27.180Z","avatar_url":"https://github.com/wkentaro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jqk\n\n*jqk* lists key patterns of a JSON file for [jq](https://github.com/jqlang/jq).\n\n\u003cimg src=\".readme/teaser.jpg\" /\u003e\n\n## Why?\n\njq is a useful command line tool to filter values from a JSON file quickly on a\nterminal; however, knowing the right pattern to extract the target value is not\neasy to do especially when a JSON file has so many nests and arrays. jqk helps\nto render all keys with the jq patterns so that you can look through a JSON\nfile using pagers like `less` to find the pattern you need to pass to jq.\n\n## Installation\n\n1. Download a pre-built binary from\n[the latest release](https://github.com/wkentaro/jqk/releases).\n\n2. Or install via `cargo`:\n\n```bash\ncargo install jqk\n```\n\n## Examples\n\nNOTE: `cat xxx.json | jqk` is equivalent to `jqk xxx.json`.\n\n```\n$ cat examples/data.json | jqk\n{\n  .departments: [\n    {\n      .departments[0].employees: [\n        \"John Doe\",\n        \"Jane Doe\"\n      ],\n      .departments[0].head: \"John Doe\",\n      .departments[0].name: \"Engineering\",\n      .departments[0].projects: [\n        {\n          .departments[0].projects[0].budget: 50000,\n          .departments[0].projects[0].deadline: \"2023-12-31\",\n          .departments[0].projects[0].name: \"Project A\"\n        },\n...\n\n$ cat examples/data.json | jqk -l\n.departments\n.departments[0].employees\n.departments[0].head\n.departments[0].name\n.departments[0].projects\n.departments[0].projects[0].budget\n.departments[0].projects[0].deadline\n.departments[0].projects[0].name\n...\n\n$ cat examples/data.json | jq .departments[].projects[].name\n\"Project A\"\n\"Project B\"\n\"Campaign X\"\n```\n\n\n## Related projects\n\n- `jq`: https://github.com/jqlang/jq\n- `jqk-python`: https://github.com/wkentaro/jqk-python\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkentaro%2Fjqk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkentaro%2Fjqk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkentaro%2Fjqk/lists"}