dimanche 20 décembre 2020

Jackson with Feign can't deserialized Spring's org.springframework.data.domain.Sort

  return new ObjectMapper()

        .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
        .setPropertyNamingStrategy(SnakeCaseStrategy.SNAKE_CASE)
        .registerModule(new PageJacksonModule())
        .registerModule(new SortJacksonModule());

https://stackoverflow.com/questions/63924863/jackson-with-feign-cant-deserialized-springs-org-springframework-data-domain-s

Aucun commentaire:

Enregistrer un commentaire

to criticize, to improve