{"id":18656619,"url":"https://github.com/zendesk/jazon","last_synced_at":"2025-04-11T18:30:59.649Z","repository":{"id":56529036,"uuid":"106668916","full_name":"zendesk/jazon","owner":"zendesk","description":"Test assertions on JSONs have never been easier","archived":false,"fork":false,"pushed_at":"2024-12-09T12:52:54.000Z","size":310,"stargazers_count":22,"open_issues_count":2,"forks_count":7,"subscribers_count":275,"default_branch":"master","last_synced_at":"2025-03-25T16:51:41.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/zendesk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-12T08:56:41.000Z","updated_at":"2024-12-10T02:18:26.000Z","dependencies_parsed_at":"2024-06-05T16:36:57.437Z","dependency_job_id":null,"html_url":"https://github.com/zendesk/jazon","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fjazon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fjazon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fjazon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fjazon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zendesk","download_url":"https://codeload.github.com/zendesk/jazon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248458376,"owners_count":21107064,"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-11-07T07:24:21.706Z","updated_at":"2025-04-11T18:30:59.634Z","avatar_url":"https://github.com/zendesk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jazon\n![CI status](https://github.com/zendesk/jazon/actions/workflows/ci.yml/badge.svg)\n\nA library for test assertions on JSON payloads. \n\nSupports Spock and JUnit. Easy to extend for other test frameworks and languages.\n\n## About\n\nJazon was created to make writing tests on JSON APIs easy. It offers:\n* Simple exact-match assertions on JSON\n* Matching unordered JSON arrays (ability to ignore the items order)\n* User-defined wildcard assertions, e.g.\n    * Match string to a regex\n    * Match number to a range\n    * Match datetime to some specific format\n    * Verify that float has only 2 decimal points\n    * Verify that list has only 25 items\n    * ... anything you need\n* Human-readable error messages for fast mismatch tracing\n* Optimised to minimise code duplication \n\n## Using Jazon in your project\n\nJazon is provided as separate libraries (so called adapters) for each supported testing framework.\nDepending on the framework you use, pick the adapter library that is applicable for you.\n\n### Spock\n\n[User guide for Spock Adapter](jazon-spock/README.md#Quickstart)\n\n##### Gradle: \n```groovy\ndependencies {\n    testCompile 'com.zendesk.jazon:jazon-spock:0.4.1'\n}\n```\n##### Maven:\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.zendesk.jazon\u003c/groupId\u003e\n    \u003cartifactId\u003ejazon-spock\u003c/artifactId\u003e\n    \u003cversion\u003e0.4.1\u003c/version\u003e\n    \u003cscope\u003etest\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n \n### JUnit:\n\n[User guide for JUnit Adapter](jazon-junit/README.md#Quickstart)\n\n##### Gradle: \n```groovy\ndependencies {\n    testCompile 'com.zendesk.jazon:jazon-junit:0.4.1'\n}\n```\n##### Maven:\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.zendesk.jazon\u003c/groupId\u003e\n    \u003cartifactId\u003ejazon-junit\u003c/artifactId\u003e\n    \u003cversion\u003e0.4.1\u003c/version\u003e\n    \u003cscope\u003etest\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\n## Copyright and license\nCopyright 2019 Zendesk, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzendesk%2Fjazon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzendesk%2Fjazon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzendesk%2Fjazon/lists"}