{"id":39495075,"url":"https://github.com/jsonschema2dataclass/js2d-gradle","last_synced_at":"2026-01-18T05:41:30.328Z","repository":{"id":37536399,"uuid":"252560046","full_name":"jsonschema2dataclass/js2d-gradle","owner":"jsonschema2dataclass","description":"Extended Jsonschema2Pojo gradle plugin","archived":false,"fork":false,"pushed_at":"2026-01-13T20:51:46.000Z","size":2598,"stargazers_count":47,"open_issues_count":11,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-13T22:30:59.224Z","etag":null,"topics":["generator","gradle-plugin","java","json","json-schema","jsonschema2pojo","model-generator","models","pojo","pojo-builder"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/jsonschema2dataclass.png","metadata":{"files":{"readme":"README.adoc","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-02T20:39:26.000Z","updated_at":"2026-01-13T20:51:48.000Z","dependencies_parsed_at":"2023-09-28T19:17:56.061Z","dependency_job_id":"97d3dcc6-4bdc-4963-b07c-b1ab2e41347b","html_url":"https://github.com/jsonschema2dataclass/js2d-gradle","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/jsonschema2dataclass/js2d-gradle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonschema2dataclass%2Fjs2d-gradle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonschema2dataclass%2Fjs2d-gradle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonschema2dataclass%2Fjs2d-gradle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonschema2dataclass%2Fjs2d-gradle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsonschema2dataclass","download_url":"https://codeload.github.com/jsonschema2dataclass/js2d-gradle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonschema2dataclass%2Fjs2d-gradle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["generator","gradle-plugin","java","json","json-schema","jsonschema2pojo","model-generator","models","pojo","pojo-builder"],"created_at":"2026-01-18T05:41:29.536Z","updated_at":"2026-01-18T05:41:30.323Z","avatar_url":"https://github.com/jsonschema2dataclass.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":":toc:\n:toc-placement: preamble\n:toclevels: 1\n:showtitle:\n\n:plugin_major: 6\n\n= Json Schema to Data Class Gradle plugin\n\nimage:https://img.shields.io/github/v/release/jsonschema2dataclass/js2d-gradle[GitHub release (latest by date)]\n\n// Need some preamble to get TOC:\n{empty}\n\n== Introduction\n\nThis plugin is aiming to take raw JSON or YAML raw files or schemas and convert definitions to Java POJOs\n(Plain Old Java Object).\n\nAt the moment of writing documentation, it uses\nhttps://github.com/joelittlejohn/jsonschema2pojo[jsonschema2pojo] 1.2.2 library to generate classes.\n\nThe `org.jsonschema2dataclass` plugin feature highlight:\n\n* Full support and testing for wide version range of versions of Java, Gradle and AGP\nincluding task caching, proper hooking and other features.\n+\nCurrently, it's Java 1.8 to 19, Gradle 6.0 to 7.6 and AGP 3, 4 and 7.\nAdditionally, plugin has beta support for Gradle 8.0 and AGP 8.\n\n* Possibility natively write Gradle scripts in Groovy and Kotlin DSLs.\n* Support for projects written in Kotlin and Groovy and which are using Lombok.\n* Possibility to run multiple executions within a single project.\n+\nThis is important for some use cases to generate different sets of models within a single project.\n* Some parameters are more human-writable and using native features provided by Gradle.\n+\n--\n.Few examples\n** `propertyWordDelimiters` is array of chars in `jsonschema2pojo`, which is not easy to write and support.\n** `org.jsonschema2dataclass` uses Gradle-provided structures for all configuration parameters.\n--\n* Plugin is not tied to the library interface and could provide more maintainable configuration presentation\nand wider feature range when needed.\n\nPlease note, that JSON schema constrains can be quite poorly translated to JSR305 and in most cases\ncan't replace Json Schema Validation.\nI suggest to use a Json Schema Validation library when possible like one\nhttps://github.com/networknt/json-schema-validator[by NetworkNT].\n\n== Usage and migration information for {plugin_major}.x\n\nUsage and migration documentation is located in separate documents.\n\n* xref:docs/usage/basic_{plugin_major}.adoc[Basic usage for {plugin_major}.x]\n* xref:docs/usage/parameters_{plugin_major}.adoc[Parameters for {plugin_major}.x]\n* xref:docs/migration/migration_{plugin_major}.adoc[Migration guide for {plugin_major}.x]\n\n== Usage and migration information for all versions\n\nUsage and migration documentation is located in separate documents.\n\n* xref:docs/usage/index.adoc[Usage documentation for all versions]\n* xref:docs/migration/migration.adoc[Migration guides for all versions]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonschema2dataclass%2Fjs2d-gradle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsonschema2dataclass%2Fjs2d-gradle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonschema2dataclass%2Fjs2d-gradle/lists"}