{"id":17449554,"url":"https://github.com/jplane/coeus","last_synced_at":"2025-10-20T12:57:14.762Z","repository":{"id":45404346,"uuid":"344874681","full_name":"jplane/Coeus","owner":"jplane","description":"JQ-style queries for JSON.NET in any .NET Core process.","archived":false,"fork":false,"pushed_at":"2021-12-16T13:02:55.000Z","size":27,"stargazers_count":12,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-23T23:41:57.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/jplane.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}},"created_at":"2021-03-05T16:50:19.000Z","updated_at":"2024-03-07T20:02:55.000Z","dependencies_parsed_at":"2022-08-30T10:40:34.288Z","dependency_job_id":null,"html_url":"https://github.com/jplane/Coeus","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/jplane%2FCoeus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplane%2FCoeus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplane%2FCoeus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplane%2FCoeus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jplane","download_url":"https://codeload.github.com/jplane/Coeus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460053,"owners_count":19966511,"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":[],"created_at":"2024-10-17T21:42:05.888Z","updated_at":"2025-10-20T12:57:09.730Z","avatar_url":"https://github.com/jplane.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coeus - JQ-compatible JSON Queries in .NET\n\n| | |\n| --- | --- |\n| Coeus NUGET Package | [![NuGet](https://img.shields.io/nuget/v/Coeus)](https://www.nuget.org/packages/Coeus/) |\n| | |\n\nSimply put, Coeus implements [JQ](https://stedolan.github.io/jq/)-compatible queries for [JSON.NET](https://www.newtonsoft.com/json). Query and update JToken, JObject, JArray, JValue and friends.\n\nJQ is more powerful than JSON Path/Patch and is a widely-adopted pseudo-standard from the Linux command line.\n\n\n## Goals\n\n- Simple extension methods for System.String to query against JToken\n\n- No CLI (yet)\n\n- 100% JQ compatibility may not be realistic, though we'll strive to include most operators and functions\n\n## Usage\n\n```csharp\n\nvar json = new JObject\n{\n    [\"foo\"] = new JArray { 1, 2, 3 }\n};\n\nvar query = \"{ \\\"bar\\\": .foo[2] }\";\n\nvar output = query.EvalToToken(json);\n\n// output --\u003e { 'bar': 3 }\n\nConsole.WriteLine(output[\"bar\"].Value\u003cint\u003e());  // 3\n\n```\n\n## Background and Resources\n\n- The JQ [manual](https://stedolan.github.io/jq/manual/) is a wealth of information about query syntax and behavior\n\n- Coeus is implemented using the excellent [Sprache](https://github.com/sprache/Sprache) parser combinator library\n\n- More on parser combinators [here](https://en.wikipedia.org/wiki/Parser_combinator). Your head will hurt, until it doesn't :-)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplane%2Fcoeus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjplane%2Fcoeus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplane%2Fcoeus/lists"}