Skip to content

Commit

Permalink
Update feature java doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kkurczewski committed Aug 6, 2023
1 parent bdc58b4 commit 4fba300
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ enum class KotlinFeature(private val enabledByDefault: Boolean) {
/**
* This feature represents whether to handle [kotlin.time.Duration] using [java.time.Duration] as conversion bridge.
*
* This allows use Kotlin Duration type with [com.fasterxml.jackson.datatype.jsr310.JavaTimeModule] for serialization.
* For deserialization explicit creator method and annotation on Duration is needed.
* This allows use Kotlin Duration type with [com.fasterxml.jackson.datatype.jsr310.JavaTimeModule].
* `@JsonFormat` annotations need to be declared either on getter using `@get:JsonFormat` or field using `@field:JsonFormat`.
*/
UseJavaDurationConversion(enabledByDefault = false);

Expand Down

0 comments on commit 4fba300

Please sign in to comment.