Package org.mongojack.internal.util
Class JacksonAccessor
- java.lang.Object
-
- org.mongojack.internal.util.JacksonAccessor
-
public class JacksonAccessor extends Object
Accesses things in Jackson that usually aren't accessible. Here be dragons.
-
-
Constructor Summary
Constructors Constructor Description JacksonAccessor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.JsonSerializer<?>
findJsonSerializer(com.fasterxml.jackson.databind.SerializerProvider serializerProvider, com.fasterxml.jackson.databind.ser.std.BeanSerializerBase serializer, String propertyName)
static com.fasterxml.jackson.databind.JsonSerializer
findValueSerializer(com.fasterxml.jackson.databind.SerializerProvider serializerProvider, com.fasterxml.jackson.databind.JavaType javaType)
static com.fasterxml.jackson.databind.JsonSerializer
findValueSerializer(com.fasterxml.jackson.databind.SerializerProvider serializerProvider, Class clazz)
static com.fasterxml.jackson.databind.SerializerProvider
getSerializerProvider(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
-
Method Detail
-
findJsonSerializer
public static com.fasterxml.jackson.databind.JsonSerializer<?> findJsonSerializer(com.fasterxml.jackson.databind.SerializerProvider serializerProvider, com.fasterxml.jackson.databind.ser.std.BeanSerializerBase serializer, String propertyName)
-
getSerializerProvider
public static com.fasterxml.jackson.databind.SerializerProvider getSerializerProvider(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
findValueSerializer
public static com.fasterxml.jackson.databind.JsonSerializer findValueSerializer(com.fasterxml.jackson.databind.SerializerProvider serializerProvider, com.fasterxml.jackson.databind.JavaType javaType)
-
findValueSerializer
public static com.fasterxml.jackson.databind.JsonSerializer findValueSerializer(com.fasterxml.jackson.databind.SerializerProvider serializerProvider, Class clazz)
-
-