{"id":13485893,"url":"https://github.com/eclipse-ee4j/yasson","last_synced_at":"2025-03-27T19:31:52.694Z","repository":{"id":13296497,"uuid":"74138254","full_name":"eclipse-ee4j/yasson","owner":"eclipse-ee4j","description":"Eclipse Yasson project","archived":false,"fork":false,"pushed_at":"2024-08-17T15:13:21.000Z","size":3538,"stargazers_count":203,"open_issues_count":110,"forks_count":95,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-10-30T20:45:53.005Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://projects.eclipse.org/projects/ee4j.yasson","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipse-ee4j.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2016-11-18T14:46:19.000Z","updated_at":"2024-10-25T09:23:55.000Z","dependencies_parsed_at":"2024-01-03T01:20:58.115Z","dependency_job_id":"5ab3c74c-190e-4ee6-b727-b845508fea16","html_url":"https://github.com/eclipse-ee4j/yasson","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-ee4j%2Fyasson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-ee4j%2Fyasson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-ee4j%2Fyasson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-ee4j%2Fyasson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipse-ee4j","download_url":"https://codeload.github.com/eclipse-ee4j/yasson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245910936,"owners_count":20692519,"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-07-31T18:00:33.576Z","updated_at":"2025-03-27T19:31:51.421Z","avatar_url":"https://github.com/eclipse-ee4j.png","language":"Java","readme":"# Eclipse Yasson\n\n[![Maven Central](https://img.shields.io/maven-central/v/org.eclipse/yasson.svg?label=Maven%20Central)](https://mvnrepository.com/artifact/org.eclipse/yasson)\n[![Jakarta Staging (Snapshots)](https://img.shields.io/nexus/s/https/jakarta.oss.sonatype.org/org.eclipse/yasson.svg)](https://jakarta.oss.sonatype.org/content/repositories/staging/org/eclipse/yasson/)\n[![Gitter](https://badges.gitter.im/eclipse/yasson.svg)](https://gitter.im/eclipse/yasson)\n[![Javadocs](https://www.javadoc.io/badge/org.eclipse/yasson.svg)](https://www.javadoc.io/doc/org.eclipse/yasson)\n[![Build Status](https://github.com/eclipse-ee4j/yasson/actions/workflows/maven.yml/badge.svg?branch=master)](https://github.com/eclipse-ee4j/yasson/actions/workflows/maven.yml?branch=master)\n[![License](https://img.shields.io/badge/License-EPL%202.0-green.svg)](https://opensource.org/licenses/EPL-2.0)\n\nYasson is a Java framework which provides a standard binding layer between Java classes and JSON documents. This is similar to what JAXB is doing in the XML world. Yasson is an official reference implementation of JSON Binding ([JSR-367](https://jcp.org/en/jsr/detail?id=367)).\n\nIt defines a **default mapping** algorithm for converting existing Java classes to JSON suitable for the most cases:\n\n```java\nJsonb jsonb = JsonbBuilder.create();\nString result = jsonb.toJson(someObject);\n```\n\nFor whom it's not enough it provides rich customization abilities through a set of **annotations** and rich **programmatic API**: \n\n```java\n// Create custom configuration\nJsonbConfig config = new JsonbConfig()\n  .withNullValues(true)\n  .withFormatting(true);\n\n// Create Jsonb with custom configuration\nJsonb jsonb = JsonbBuilder.create(config);\n\n// Use it!\nString result = jsonb.toJson(someObject);\n```\n\n## Questions?\n\nSomething not working right? Have an idea for an enhancement? Get in touch with the Yasson community in the following ways:\n\n- [Gitter](https://gitter.im/eclipse/yasson): a free instant-messaging platform (similar to Slack) that anyone can join.\n- [Stackoverflow](https://stackoverflow.com/questions/tagged/yasson): As a question tagged `[jsonb-api]` and `[yasson]`\n- [Github Issues](https://github.com/eclipse-ee4j/yasson/issues/new): Open issues for enhancement ideas or bug reports\n\n## Licenses\n- [Eclipse Distribution License 1.0 (BSD)](https://projects.eclipse.org/content/eclipse-distribution-license-1.0-bsd)\n- [Eclipse Public License 2.0](https://projects.eclipse.org/content/eclipse-public-license-2.0)\n\n## Links\n- Yasson home page: https://projects.eclipse.org/projects/ee4j.yasson\n- JSON-B official web site: https://eclipse-ee4j.github.io/jsonb-api/\n- JSON-B API \u0026 spec project: https://github.com/eclipse-ee4j/jsonb-api\n- JSR-367 page on JCP site: https://jcp.org/en/jsr/detail?id=367\n","funding_links":[],"categories":["Projects","项目"],"sub_categories":["JSON"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-ee4j%2Fyasson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipse-ee4j%2Fyasson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-ee4j%2Fyasson/lists"}