jackson-module-scala has a lot of test code that uses Scala 2 Manifest passing to act as a convenient way to get the Java class. I can change the code to pass the Java class explicitly but there is a lot of code to change.
Would anyone have any suggestions how this code be rewritten to support Scala 3.
def deserialize[T: Manifest](value: String) : T =
newMapper.readValue(value, typeReference[T])
def typeReference[T: Manifest]: TypeReference[T] = new TypeReference[T] {
override def getType: Type = typeFromManifest(manifest[T])
}