79708712

Date: 2025-07-21 07:41:31
Score: 1
Natty:
Report link

Use

jacksonObjectMapper()

from

import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper

(*) in gradle:

implementation("com.fasterxml.jackson.module:jackson-module-kotlin:${jacksonVersion}")

Instead of

ObjectMapper()

And you won't need a

@JsonProperty

for data class.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Viktor Smirnov