{"id":20372840,"url":"https://github.com/sidmishraw/jsonpath-syntax-validator","last_synced_at":"2025-10-28T10:06:12.846Z","repository":{"id":49962811,"uuid":"190338245","full_name":"sidmishraw/jsonpath-syntax-validator","owner":"sidmishraw","description":"Validates the syntax of a JSON path expression.","archived":false,"fork":false,"pushed_at":"2023-12-05T22:07:11.000Z","size":21,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-08T05:48:12.325Z","etag":null,"topics":["jsonpath","jsonpath-parser","jsonpath-syntax"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/sidmishraw.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-05T06:28:10.000Z","updated_at":"2023-08-22T08:17:49.000Z","dependencies_parsed_at":"2025-01-15T05:43:34.857Z","dependency_job_id":"0fef74c1-25b3-41a0-a37e-cce4c32472f2","html_url":"https://github.com/sidmishraw/jsonpath-syntax-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sidmishraw/jsonpath-syntax-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidmishraw%2Fjsonpath-syntax-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidmishraw%2Fjsonpath-syntax-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidmishraw%2Fjsonpath-syntax-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidmishraw%2Fjsonpath-syntax-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sidmishraw","download_url":"https://codeload.github.com/sidmishraw/jsonpath-syntax-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidmishraw%2Fjsonpath-syntax-validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281418358,"owners_count":26497779,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["jsonpath","jsonpath-parser","jsonpath-syntax"],"created_at":"2024-11-15T01:15:13.385Z","updated_at":"2025-10-28T10:06:12.827Z","avatar_url":"https://github.com/sidmishraw.png","language":"Java","readme":"# JSON Path expression syntax validation\n\nThis project uses the JSON Path expression parsing logic mentioned in [Stefan Goessner's article](https://goessner.net/articles/JsonPath/).\nI make use of parts of the code from original JSON path implementation in JS found [here](https://code.google.com/archive/p/jsonpath/).\n\n## Usage\n\n```java\nclass Example {\n    public static void main(String[] args) {\n        JsonPathValidator validator = new BasicJsonPathValidator();\n        Assert.assertTrue(validator.validate(\"$.as[?(@.name == 'samba')]\"));\n        Assert.assertFalse(validator.validate(\"a['??kangaroo   \\\"A\\\"'][??(@.name == 'a')].value\"));        \n    } \n}\n```\n\n`JsonPathValidator` is an interface that has a basic implementation `BasicJsonPathValidator`. If required other sophisticated validators can be added to this library.\n\n\u003e Note: This library doesn't really evaluate the path against a JSON object, this is strictly pre-evaluation phase syntax check.\n\n## Dependencies\n- Project Lombok\n- Maven\n- Slf4j\n- Logback\n\n## References\n[1] https://goessner.net/articles/JsonPath/\n\n[2] https://code.google.com/archive/p/jsonpath/","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidmishraw%2Fjsonpath-syntax-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidmishraw%2Fjsonpath-syntax-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidmishraw%2Fjsonpath-syntax-validator/lists"}