Class SimpleObjectMapper<T>

java.lang.Object
com.atlassian.crowd.mapper.SimpleObjectMapper<T>

public class SimpleObjectMapper<T> extends Object
Simplified version of ObjectMapper that has following advantages over ObjectMapper:
  • It's fully thread-safe, as it uses ObjectReader and ObjectWriter which are immutable
  • Is not prone to performance problems under heavy load
  • Constructor Details

    • SimpleObjectMapper

      public SimpleObjectMapper(Class<T> clz)
    • SimpleObjectMapper

      public SimpleObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper, Class<T> clz)
  • Method Details