Skip to content

Commit

Permalink
Remove jackson mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
lindseydew committed Mar 25, 2024
1 parent 2369cf9 commit c8c55d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/src/main/scala/com/gu/sfl/lib/Jackson.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.gu.sfl.lib
import java.text.SimpleDateFormat

import com.fasterxml.jackson.databind.{DeserializationFeature, ObjectMapper}
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module.scala.DefaultScalaModule
import com.fasterxml.jackson.module.scala.experimental.ScalaObjectMapper
Expand All @@ -17,6 +16,5 @@ object Jackson {
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
mapper.setDateFormat(formatter)
mapper.registerModule(DefaultScalaModule)
mapper.registerModule(new Jdk8Module())
mapper.registerModule(new JavaTimeModule())
}

0 comments on commit c8c55d7

Please sign in to comment.