{"id":13652235,"url":"https://github.com/cosmo-ray/json-search","last_synced_at":"2026-01-24T04:21:25.243Z","repository":{"id":40561009,"uuid":"326179672","full_name":"cosmo-ray/json-search","owner":"cosmo-ray","description":"Small utile to search trough json.","archived":false,"fork":false,"pushed_at":"2025-02-17T20:38:56.000Z","size":299,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T21:32:06.470Z","etag":null,"topics":["json"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cosmo-ray.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,"publiccode":null,"codemeta":null}},"created_at":"2021-01-02T12:37:27.000Z","updated_at":"2025-02-17T20:38:59.000Z","dependencies_parsed_at":"2024-11-10T03:30:50.488Z","dependency_job_id":"6b2ef9b6-d2b2-4a88-8b27-97e95426ca8e","html_url":"https://github.com/cosmo-ray/json-search","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmo-ray%2Fjson-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmo-ray%2Fjson-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmo-ray%2Fjson-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmo-ray%2Fjson-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmo-ray","download_url":"https://codeload.github.com/cosmo-ray/json-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250365240,"owners_count":21418651,"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":["json"],"created_at":"2024-08-02T02:00:57.451Z","updated_at":"2026-01-24T04:21:25.195Z","avatar_url":"https://github.com/cosmo-ray.png","language":"C","funding_links":[],"categories":["Command-line tools"],"sub_categories":[],"readme":"small program that allow to search json files.\n\n# dependancies\n```\njson-c libc\n```\n\n# download:\n\non linux you have the appimages here: https://github.com/cosmo-ray/json-search/tags\n\n# install:\n\nArch:\n```\nyay -S json-search-git\n```\n\nMacos:\n```\nbrew tap cosmo-ray/oui\nbrew install cosmo-ray/oui/json-search\n```\n\n# usage:\n```\njson-search [OPTION] [NEEDLE] [FILES]\n```\n```\n# options:\n        -v: verbose mode\n        -i: case insensitive\n        -V: Check Value instead of keys\n        -K: Print only objects keys\n        -R: raw print\n        -M NUM: limitate the number of returned objects\n        -P: print parent instead of element\n        -s: locate sub-string instead of strict comparison\n                ex: 'file' will match with 'files'\n        -r: recursive file search, NOT YET IMPLEMENTED\n        -o: multiple patern search\n        -t: look for object child, NOT YET IMPLEMENTED\n        -l: location info: print file and key\n        -h: are you really wondering what this is ?\n```\nBut really just use\n```sh\njson-search -h\n```\nIt's more updated than this readme\n\n# example:\n\n```\n$cat little-space.json:\n{\n    \"name\" : \"little-space\",\n    \"pre-load\" : [\n        { \"file\" : \"html5-emu.js\", \"type\" : \"js\" },\n    ],\n    \"init-scripts\" : [\n        [\"js\", \"js_emu_init\"]\n    ],\n    \"make-prototype\": \"jumper\",\n    \"starting widget\" : \"little-space\",\n    \"little-space\" : {\n        \"\u003ctype\u003e\": \"html-emu\",\n        \"dmod\": \"little-space\",\n        \"files\": [\n            \"js/funtions/Normes.js\",\n            \"js/define/display.js\",\n            \"js/define/input.js\"\n        ]\n    }\n}\n\n$ json-search  files little-space.json # \"cat little-space.json | json-search files\"  work too\n../little-space/start.json: [\n      \"js/funtions/Normes.js\",\n      \"js/define/display.js\",\n      \"js/define/input.js\"\n]\n```\n\n# TODO:\n\n* Handle whildcards\n* Fix not implemented options\n* add one option to add a maximum deep in search\n\n# F.A.Q\n\nQ: So it's just a cheap version of JQ\n\nA: yes, like grep is a cheap version of sed, this tool try to be a simpler but easier to use version of jq that focus only on finding elements in json.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo-ray%2Fjson-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmo-ray%2Fjson-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo-ray%2Fjson-search/lists"}