{"id":30610238,"url":"https://github.com/koriit/ktor-time","last_synced_at":"2025-08-30T04:32:46.696Z","repository":{"id":57725963,"uuid":"225568638","full_name":"Koriit/ktor-time","owner":"Koriit","description":"Data conversions for Java Time types","archived":false,"fork":false,"pushed_at":"2022-01-30T16:41:01.000Z","size":99,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-07-28T09:17:06.583Z","etag":null,"topics":["data-conversion","jsr-310","kotlin","ktor","ktor-feature","ktor-plugin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Koriit.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}},"created_at":"2019-12-03T08:29:38.000Z","updated_at":"2022-01-29T15:14:10.000Z","dependencies_parsed_at":"2022-09-09T23:40:44.146Z","dependency_job_id":null,"html_url":"https://github.com/Koriit/ktor-time","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"purl":"pkg:github/Koriit/ktor-time","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koriit%2Fktor-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koriit%2Fktor-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koriit%2Fktor-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koriit%2Fktor-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Koriit","download_url":"https://codeload.github.com/Koriit/ktor-time/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koriit%2Fktor-time/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272805353,"owners_count":24995909,"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-08-30T02:00:09.474Z","response_time":77,"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":["data-conversion","jsr-310","kotlin","ktor","ktor-feature","ktor-plugin"],"created_at":"2025-08-30T04:32:44.650Z","updated_at":"2025-08-30T04:32:46.662Z","avatar_url":"https://github.com/Koriit.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Ktor Time Converters\n\nimage:https://github.com/Koriit/ktor-time/actions/workflows/build.yaml/badge.svg[Build, link=\"https://github.com/Koriit/ktor-time/actions/workflows/build.yaml\"]\nimage:https://www.codefactor.io/repository/github/koriit/ktor-time/badge[CodeFactor,link=https://www.codefactor.io/repository/github/koriit/ktor-time]\nimage:https://img.shields.io/badge/code%20style-%E2%9D%A4-FF4081.svg[ktlint,link=https://ktlint.github.io/]\n\nimage:https://img.shields.io/maven-central/v/com.koriit.kotlin/ktor-time.svg?label=Maven%20Central[Maven Central, link=\"https://search.maven.org/search?q=g:%22com.koriit.kotlin%22%20AND%20a:%22ktor-time%22\"]\nimage:https://img.shields.io/github/license/koriit/ktor-time[GitHub]\n\nWARNING: From version 0.3.0 all package names have been renamed to match new artifact group id.\n\nKtor data converters for JSR310 Java Time types.\n\n== Installation\n[source,kotlin]\n----\ninstall(DataConversion) {\n    convertTime()\n}\n----\n\nYou can also install converters of specific types.\n[source,kotlin]\n----\ninstall(DataConversion) {\n    convertLocalDate()\n    convertLocalDateTime()\n    convertOffsetDateTime()\n}\n----\n\n== Serialization\nThe actual serialization/deserialization is delegated to some specialized mapper.\nThis library just offers a ktor data conversion wrapper over it.\n\n=== Jackson\nJackson is used as default serializer. You can also pass your own `ObjectMapper` instance to all `convert*` functions.\n\n[WARNING]\nJackson does not support JSR310 Java Time types by default. You need to register `JavaTimeModule`: +\n`ObjectMapper().registerModule(JavaTimeModule())`\n\n\n=== GSON\nTODO...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoriit%2Fktor-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoriit%2Fktor-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoriit%2Fktor-time/lists"}