{"id":27894450,"url":"https://github.com/symfony/json-path","last_synced_at":"2026-01-25T00:01:14.360Z","repository":{"id":291112780,"uuid":"976629112","full_name":"symfony/json-path","owner":"symfony","description":"Eases JSON navigation using the JSONPath syntax as described in RFC 9535","archived":false,"fork":false,"pushed_at":"2025-12-31T09:30:29.000Z","size":252,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"7.3","last_synced_at":"2026-01-04T12:34:06.878Z","etag":null,"topics":["component","php","symfony","symfony-component"],"latest_commit_sha":null,"homepage":"https://symfony.com/json-path","language":"PHP","has_issues":false,"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/symfony.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["fabpot","nicolas-grekas"],"custom":"https://symfony.com/sponsor","tidelift":"packagist/symfony/symfony"}},"created_at":"2025-05-02T13:04:33.000Z","updated_at":"2025-12-19T08:25:01.000Z","dependencies_parsed_at":"2025-05-02T14:08:39.299Z","dependency_job_id":"1aef18d6-c0e7-42a5-b93e-3182d9be97b5","html_url":"https://github.com/symfony/json-path","commit_stats":null,"previous_names":["symfony/json-path"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/symfony/json-path","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fjson-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fjson-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fjson-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fjson-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/symfony","download_url":"https://codeload.github.com/symfony/json-path/tar.gz/refs/heads/7.3","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fjson-path/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["component","php","symfony","symfony-component"],"created_at":"2025-05-05T14:41:01.671Z","updated_at":"2026-01-25T00:01:14.292Z","avatar_url":"https://github.com/symfony.png","language":"PHP","funding_links":["https://github.com/sponsors/fabpot","https://github.com/sponsors/nicolas-grekas","https://symfony.com/sponsor","https://tidelift.com/funding/github/packagist/symfony/symfony"],"categories":[],"sub_categories":[],"readme":"JsonPath Component\n==================\n\nThe JsonPath component eases JSON navigation using the JSONPath syntax as described in [RFC 9535](https://www.rfc-editor.org/rfc/rfc9535.html).\n\n**This Component is experimental**.\n[Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html)\nare not covered by Symfony's\n[Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html).\n\nGetting Started\n---------------\n\n```bash\ncomposer require symfony/json-path\n```\n\n```php\nuse Symfony\\Component\\JsonPath\\JsonCrawler;\n\n$json = \u003c\u003c\u003c'JSON'\n{\"store\": {\"book\": [\n    {\"category\": \"reference\", \"author\": \"Nigel Rees\", \"title\": \"Sayings\", \"price\": 8.95},\n    {\"category\": \"fiction\", \"author\": \"Evelyn Waugh\", \"title\": \"Sword\", \"price\": 12.99}\n]}}\nJSON;\n\n$crawler = new JsonCrawler($json);\n\n$result = $crawler-\u003efind('$.store.book[0].title');\n$result = $crawler-\u003efind('$.store.book[?match(@.author, \"[A-Z].*el.+\")]');\n$result = $crawler-\u003efind(\"$.store.book[?(@.category == 'fiction')].title\");\n```\n\nUpdating the Compliance Test Suite\n----------------------------------\n\nThe compliance test suite is gathered from the [JSONPath Test Suite](https://github.com/jsonpath-standard/jsonpath-compliance-test-suite).\n\nWhen new commits are pushed to the upstream repository, it is necessary to gather them by following these steps:\n\n * Update the `reference` field of `composer.json` to the latest commit hash of the `jsonpath-standard/jsonpath-compliance-test-suite` package\n * Update the `version` field to the date of the commit\n * Repeat the steps above for the `composer.json` file present at the root level of the `symfony/symfony` repository\n * Run `composer update`\n * Ensure the tests pass\n\nResources\n---------\n\n * [Documentation](https://symfony.com/doc/current/components/json_path.html)\n * [Contributing](https://symfony.com/doc/current/contributing/index.html)\n * [Report issues](https://github.com/symfony/symfony/issues) and\n   [send Pull Requests](https://github.com/symfony/symfony/pulls)\n   in the [main Symfony repository](https://github.com/symfony/symfony)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfony%2Fjson-path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymfony%2Fjson-path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfony%2Fjson-path/lists"}