All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fasterxml.jackson.databind.ObjectMapperCopier.scala Maven / Gradle / Ivy

There is a newer version: 2.1.6
Show newest version
package com.fasterxml.jackson.databind

import com.fasterxml.jackson.module.scala.experimental.ScalaObjectMapper

object ObjectMapperCopier {

  // Workaround since calling objectMapper.copy on "ObjectMapper with ScalaObjectMapper" fails the _checkInvalidCopy check
  def copy(objectMapper: ObjectMapper) = {
    new ObjectMapper(objectMapper) with ScalaObjectMapper
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy