{"id":22870321,"url":"https://github.com/berquerant/jsongrep","last_synced_at":"2025-03-31T11:26:18.885Z","repository":{"id":81890012,"uuid":"384190973","full_name":"berquerant/jsongrep","owner":"berquerant","description":"grep json by json","archived":false,"fork":false,"pushed_at":"2021-07-08T16:48:02.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T16:58:47.806Z","etag":null,"topics":["rust"],"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/berquerant.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":"2021-07-08T16:47:32.000Z","updated_at":"2021-08-24T15:51:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"be8dc442-b792-42bf-a4b6-a3c595553dbd","html_url":"https://github.com/berquerant/jsongrep","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fjsongrep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fjsongrep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fjsongrep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fjsongrep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berquerant","download_url":"https://codeload.github.com/berquerant/jsongrep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246460359,"owners_count":20781102,"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":["rust"],"created_at":"2024-12-13T13:14:32.199Z","updated_at":"2025-03-31T11:26:18.879Z","avatar_url":"https://github.com/berquerant.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsongrep\n\nGrep json.\n\n## Usage\n\n`jsongrep -h`\n\n### Example\n\n```shell\n% (echo '{\"s\":\"Sirius\",\"i\":0}';echo 'not json';echo '{\"a\":[]}';echo '{\"s\":1}';echo '{\"s\":\"xirius\"}';echo '{\"s\":\"sirius\"}') | jsongrep -r '{\"query\":{\"type\":\"raw\",\"pair\":{\"p\":\"/s\",\"cond\":{\"type\":\"match\",\"mtype\":\"regex\",\"value\":{\"type\":\"string\",\"value\":\"[sS]irius\"}}}}}'\n{\"s\":\"Sirius\",\"i\":0}\nline 2: expected ident at line 1 column 2\nline 3: Invalid pointer (pointer: \"/s\", value: \"{\\\"a\\\":[]}\")\nline 4: Matcher type mismatch (matcher_type \"Regex\", matcher_value \"String([sS]irius)\", target \"Int(1)\", by \"\u0026jsongrep::query::Condition\")\n{\"s\":\"sirius\"}\n```\n\n## Development\n\n1. `cargo install --force cargo-make`\n2. `cargo make dev`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Fjsongrep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberquerant%2Fjsongrep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Fjsongrep/lists"}