Class JacksonMapperUtil

java.lang.Object
io.quarkus.resteasy.reactive.jackson.runtime.mappers.JacksonMapperUtil

public class JacksonMapperUtil extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.fasterxml.jackson.databind.JavaType
    getGenericRootType(Type genericType, com.fasterxml.jackson.databind.ObjectWriter defaultWriter)
    Determine the root type that should be used for serialization of generic types.
    static com.fasterxml.jackson.databind.JavaType[]
    getGenericsJavaTypes(com.fasterxml.jackson.databind.DeserializationContext context, com.fasterxml.jackson.databind.BeanProperty property)
     
    static boolean
    includeSecureField(com.fasterxml.jackson.databind.SerializerProvider serializerProvider, String[] rolesAllowed)
     
    static boolean
    includeSecureField(String[] rolesAllowed)
     
    static void
    serializePojo(Object value, com.fasterxml.jackson.core.JsonGenerator generator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JacksonMapperUtil

      public JacksonMapperUtil()
  • Method Details

    • includeSecureField

      public static boolean includeSecureField(com.fasterxml.jackson.databind.SerializerProvider serializerProvider, String[] rolesAllowed)
    • includeSecureField

      public static boolean includeSecureField(String[] rolesAllowed)
    • getGenericRootType

      public static com.fasterxml.jackson.databind.JavaType getGenericRootType(Type genericType, com.fasterxml.jackson.databind.ObjectWriter defaultWriter)
      Determine the root type that should be used for serialization of generic types. Returns the appropriate root type or null if default serialization should be used.
    • getGenericsJavaTypes

      public static com.fasterxml.jackson.databind.JavaType[] getGenericsJavaTypes(com.fasterxml.jackson.databind.DeserializationContext context, com.fasterxml.jackson.databind.BeanProperty property)
    • serializePojo

      public static void serializePojo(Object value, com.fasterxml.jackson.core.JsonGenerator generator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException
      Throws:
      IOException