{"id":20877457,"url":"https://github.com/t1/yasson-record-issue","last_synced_at":"2025-12-27T10:04:52.531Z","repository":{"id":258189511,"uuid":"873424423","full_name":"t1/yasson-record-issue","owner":"t1","description":"Minimalistic reproducer for an issue in Yasson with a JSONB type adapter for a Java record.","archived":false,"fork":false,"pushed_at":"2024-10-16T06:43:44.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-03-12T16:35:48.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t1.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-10-16T06:32:09.000Z","updated_at":"2024-10-16T06:43:47.000Z","dependencies_parsed_at":"2024-10-18T00:22:55.788Z","dependency_job_id":null,"html_url":"https://github.com/t1/yasson-record-issue","commit_stats":null,"previous_names":["t1/yasson-record-issue"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/t1/yasson-record-issue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fyasson-record-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fyasson-record-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fyasson-record-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fyasson-record-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t1","download_url":"https://codeload.github.com/t1/yasson-record-issue/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fyasson-record-issue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28077395,"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-12-27T02:00:05.897Z","response_time":58,"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":[],"created_at":"2024-11-18T06:57:05.174Z","updated_at":"2025-12-27T10:04:52.512Z","avatar_url":"https://github.com/t1.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Reproducer for an Issue with Yasson and Records\n\nThis project is a minimalistic reproducer for an https://github.com/eclipse-ee4j/yasson/issues/607[issue with Yasson and Records].\n\nThe project builds just fine if you run as it is.\nHowever, if you change the `@Order(1)` annotation in line 26 of the `JsonBindingTest` class to `@Order(3)`, then both tests fail!\n\nIt looks like Yasson doesn't pick up the JSONB adapter on the record class anymore, if it first sees the record in a generic type.\nSo instead of `\"42\"` / `{\"element\":\"42\"}`, it produces `{\"value\":\"42\"}` / `{\"element\":{\"value\":\"42\"}}`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1%2Fyasson-record-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft1%2Fyasson-record-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1%2Fyasson-record-issue/lists"}