{"id":19075829,"url":"https://github.com/secomind/exjsonpath","last_synced_at":"2025-12-12T00:20:01.026Z","repository":{"id":43820606,"uuid":"193539186","full_name":"secomind/exjsonpath","owner":"secomind","description":"JSONPath library for Elixir","archived":false,"fork":false,"pushed_at":"2022-02-17T16:48:59.000Z","size":113,"stargazers_count":27,"open_issues_count":5,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T00:12:50.952Z","etag":null,"topics":["elixir","elixir-library","json","jsonpath"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/secomind.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":"2019-06-24T16:15:27.000Z","updated_at":"2025-02-13T17:31:06.000Z","dependencies_parsed_at":"2022-09-22T15:51:14.114Z","dependency_job_id":null,"html_url":"https://github.com/secomind/exjsonpath","commit_stats":null,"previous_names":["ispirata/exjsonpath"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secomind%2Fexjsonpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secomind%2Fexjsonpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secomind%2Fexjsonpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secomind%2Fexjsonpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secomind","download_url":"https://codeload.github.com/secomind/exjsonpath/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251602831,"owners_count":21615969,"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":["elixir","elixir-library","json","jsonpath"],"created_at":"2024-11-09T01:56:06.877Z","updated_at":"2025-12-12T00:20:00.983Z","avatar_url":"https://github.com/secomind.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExJsonPath\n\nExJsonPath is an Elixir library which allows to query maps (JSON objects) and lists (JSON arrays),\nusing [JSONPath](https://goessner.net/articles/JsonPath/) expressions.\n\nExJsonPath is not limited to JSON, but allows to query nearly any kind of map or list, with just\none main restriction: keys have to be strings.\n\n## Installation\n- Add `ExJsonPath` dependency to your project's `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:exjsonpath, \"~\u003e 0.1\"}\n  ]\nend\n```\n- Run `mix deps.get`\n\n## Basic Usage\n\n```elixir\niex(1)\u003e ExJSONPath.eval([%{\"v\" =\u003e 1}, %{\"v\" =\u003e 2}, %{\"v\" =\u003e 3}], \"$[?(@.v \u003e 1)].v\")\n{:ok, [2, 3]}\n```\n\n```elixir\niex(1)\u003e {:ok, json} = File.read(\"store.json\")\niex(2)\u003e {:ok, store} = Jason.decode(json)\niex(3)\u003e ExJSONPath.eval(store, \"$.store.book[?(@.price \u003e 20)].title\")\n{:ok, [\"The Lord of the Rings\"]}\n```\n\nFull documentation can be found at [hexdocs.pm/exjsonpath](https://hexdocs.pm/exjsonpath).\n\n## Notes\n\nExpressions with no leading selector (`$` or `@`) default to current item, however they are a\ncommon extension to JSONPath that should be avoided for compatibility reasons.\n\n## About This Project\n\nThis project has been created in order to provide support to JSONPath to [Astarte Flow](https://github.com/astarte-platform/astarte_flow).\nWe are open to any contribution and we encourage adoption of this library to anyone looking for a maps and lists query language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecomind%2Fexjsonpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecomind%2Fexjsonpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecomind%2Fexjsonpath/lists"}