{"id":19563113,"url":"https://github.com/fasterxml/jackson-datatype-joda","last_synced_at":"2025-05-14T08:08:23.276Z","repository":{"id":42668863,"uuid":"2358108","full_name":"FasterXML/jackson-datatype-joda","owner":"FasterXML","description":"Extension module to properly support full datatype set of Joda datetime library","archived":false,"fork":false,"pushed_at":"2025-05-14T00:35:18.000Z","size":2303,"stargazers_count":143,"open_issues_count":1,"forks_count":84,"subscribers_count":12,"default_branch":"2.x","last_synced_at":"2025-05-14T08:08:15.305Z","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/FasterXML.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-09-09T21:09:21.000Z","updated_at":"2025-05-11T00:13:35.000Z","dependencies_parsed_at":"2023-12-24T07:20:06.345Z","dependency_job_id":"82657b94-ca82-416f-bd4a-f4a730c1b01e","html_url":"https://github.com/FasterXML/jackson-datatype-joda","commit_stats":{"total_commits":768,"total_committers":46,"mean_commits":"16.695652173913043","dds":0.09505208333333337,"last_synced_commit":"ddb52970255420cf8fd7195d82aa115237b35e85"},"previous_names":[],"tags_count":164,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FasterXML%2Fjackson-datatype-joda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FasterXML%2Fjackson-datatype-joda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FasterXML%2Fjackson-datatype-joda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FasterXML%2Fjackson-datatype-joda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FasterXML","download_url":"https://codeload.github.com/FasterXML/jackson-datatype-joda/tar.gz/refs/heads/2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254101558,"owners_count":22014908,"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-11T05:16:36.767Z","updated_at":"2025-05-14T08:08:18.268Z","avatar_url":"https://github.com/FasterXML.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Jackson](http://jackson.codehaus.org) module (jar)\nto support JSON serialization and deserialization of\n[Joda](http://joda-time.sourceforge.net/) data types.\n\n## Status\n\n[![Build Status](https://travis-ci.org/FasterXML/jackson-datatype-joda.svg)](https://travis-ci.org/FasterXML/jackson-datatype-joda)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.fasterxml.jackson.datatype/jackson-datatype-joda/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.fasterxml.jackson.datatype/jackson-datatype-joda/)\n[![Javadoc](https://javadoc.io/badge/com.fasterxml.jackson.datatype/jackson-datatype-joda.svg)](https://www.javadoc.io/doc/com.fasterxml.jackson.datatype/jackson-datatype-joda)\n\nModule has been production-ready since version 2.0, and offers relatively extensive support for Joda datatypes.\nContributions are always welcome -- not all types are yet supported; and we may want to support even wider alternative\nformats on input side.\n\n## License\n\n[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)\n\n## Usage\n\nSince this module extends basic [Jackson databind](../../../jackson-databind) functionality, you may want to check out\ndocumentation at [Jackson-docs](../../../jackson-docs) first.\n\n### Maven dependency\n\nTo use module on Maven-based projects, use following dependency:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.fasterxml.jackson.datatype\u003c/groupId\u003e\n  \u003cartifactId\u003ejackson-datatype-joda\u003c/artifactId\u003e\n  \u003cversion\u003e2.17.1\u003c/version\u003e\n\u003c/dependency\u003e    \n```\n\n(or whatever version is most up-to-date at the moment)\n\n### Registering module\n\nTo use Joda datatypes with Jackson, you will first need to register the module first (same as\nwith all Jackson datatype modules):\n\n```java\nObjectMapper mapper = JsonMapper.builder().addModule(new JodaModule()).build();\n```\n\nUsing older style (that is being phased out):\n```java\nObjectMapper mapper = new ObjectMapper();\nmapper.registerModule(new JodaModule());\n```\n\n### Reading and Writing Joda types\n\nAfter registering Joda module, [Jackson Databind](../../../jackson-databind) will be able to write values\nof supported Joda types as JSON (and other formats Jackson supports), and read Joda values\nfrom same formats.\n\nWith JSON, for example, following would work\n\n```java\npublic class Bean {\n  public DateTime start;\n}\n\nfinal String INPUT_JSON = \"{\\\"start\\\" : \\\"1972-12-28T12:00:01.000Z\\\"}\";\nBean bean = mapper.readValue(INPUT_JSON, Bean.class);\n```\n\nand property `start` of Bean would have expected `DateTime` value.\n\nConversely, you can produce JSON (and other supported formats) simply with:\n\n```java\nString json = mapper.writeValueAsString(bean);\nAssert.assertEquals(INPUT_JSON, json);\n```\n\n## Compatibility\n\nModule works with Joda version 2.9 and higher (CI tests compatibility since module version 2.14), even if it declares dependency to a newer version.\nThis means that it is possible to use with older version by using Maven dependency override.\n\n## More\n\nSee [Wiki](../../wiki) for more information (javadocs, downloads).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterxml%2Fjackson-datatype-joda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffasterxml%2Fjackson-datatype-joda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterxml%2Fjackson-datatype-joda/lists"}