{"id":23161908,"url":"https://github.com/hertzsprung/hamcrest-json","last_synced_at":"2025-04-06T01:07:06.252Z","repository":{"id":4329772,"uuid":"5464941","full_name":"hertzsprung/hamcrest-json","owner":"hertzsprung","description":"Hamcrest matchers for comparing JSON documents","archived":false,"fork":false,"pushed_at":"2023-09-25T05:31:55.000Z","size":91,"stargazers_count":118,"open_issues_count":8,"forks_count":21,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-30T00:08:23.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.datumedge.co.uk/hamcrest-json/","language":"Java","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/hertzsprung.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.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}},"created_at":"2012-08-18T18:13:40.000Z","updated_at":"2025-03-18T15:37:32.000Z","dependencies_parsed_at":"2025-01-15T03:54:15.113Z","dependency_job_id":"0517f774-4e45-44b9-bfd7-7eafb65ffc51","html_url":"https://github.com/hertzsprung/hamcrest-json","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"0ade50fd80d01c8953cea5cd8a8b5f005840cdd7"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hertzsprung%2Fhamcrest-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hertzsprung%2Fhamcrest-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hertzsprung%2Fhamcrest-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hertzsprung%2Fhamcrest-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hertzsprung","download_url":"https://codeload.github.com/hertzsprung/hamcrest-json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419860,"owners_count":20936012,"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-12-17T23:15:40.576Z","updated_at":"2025-04-06T01:07:06.225Z","avatar_url":"https://github.com/hertzsprung.png","language":"Java","funding_links":[],"categories":["测试"],"sub_categories":[],"readme":"Hamcrest matchers for comparing JSON documents, backed by the [JSONassert library](https://github.com/skyscreamer/JSONassert).  The code is released under the [MIT license](http://www.opensource.org/licenses/mit-license.php).\nSupports Java 8 or later.\n\nInstallation\n============\n\nTo install from Maven Central:\n\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003euk.co.datumedge\u003c/groupId\u003e\n\t\u003cartifactId\u003ehamcrest-json\u003c/artifactId\u003e\n\t\u003cversion\u003e0.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nUsage\n=====\n```java\nimport static uk.co.datumedge.hamcrest.json.SameJSONAs.*;\n\nassertThat(\n\t\"{\\\"age\\\":43, \\\"friend_ids\\\":[16, 52, 23]}\",\n\tsameJSONAs(\"{\\\"friend_ids\\\":[52, 23, 16]}\")\n\t\t.allowingExtraUnexpectedFields()\n\t\t.allowingAnyArrayOrdering());\n```\n\nResources\n=========\n * [hamcrest-json website](https://www.datumedge.co.uk/hamcrest-json/)\n * [API documentation](https://www.datumedge.co.uk/hamcrest-json/apidocs/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhertzsprung%2Fhamcrest-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhertzsprung%2Fhamcrest-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhertzsprung%2Fhamcrest-json/lists"}