{"id":23800059,"url":"https://github.com/srvaroa/jsonrouter","last_synced_at":"2025-06-30T23:03:55.201Z","repository":{"id":145657392,"uuid":"190467543","full_name":"srvaroa/jsonrouter","owner":"srvaroa","description":null,"archived":false,"fork":false,"pushed_at":"2019-06-15T17:52:34.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T15:50:29.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"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/srvaroa.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":"2019-06-05T20:57:56.000Z","updated_at":"2019-06-15T17:48:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"706c7400-71ff-47be-bf73-05df32576e66","html_url":"https://github.com/srvaroa/jsonrouter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srvaroa/jsonrouter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fjsonrouter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fjsonrouter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fjsonrouter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fjsonrouter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srvaroa","download_url":"https://codeload.github.com/srvaroa/jsonrouter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvaroa%2Fjsonrouter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262863710,"owners_count":23376453,"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":"2025-01-01T21:34:01.394Z","updated_at":"2025-06-30T23:03:55.180Z","avatar_url":"https://github.com/srvaroa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"JsonRouter\n==========\n\nJSON Router is a simple library to construct a routing table mapping\n[JsonPath](http://jsonpath.com/) expressions to target strings.\n\nCheck [samples/config.json]() contains an example configuration of the\nrouting table.\n\nThe CLI reads a JSON from STDIN and takes a routing table from a\nconfiguration file.  To invoke it:\n\n    cat samples/data.json | go run cmd/main.go -routes=samples/config.json\n\n## Use cases\n\nConnect an event stream to multiple FAAS endpoints that handle a subset\nof the events in the stream.\n\nIn this case, the targets would be each endpoint URI.  JsonRouter allows\ndefining a set of routes based on the JSON payload.  If the event's\npayload matches a route, it can be forwarded to the target.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrvaroa%2Fjsonrouter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrvaroa%2Fjsonrouter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrvaroa%2Fjsonrouter/lists"}