Class JsonMapper

java.lang.Object
io.confluent.security.authorizer.utils.JsonMapper

public class JsonMapper extends Object
  • Constructor Details

    • JsonMapper

      public JsonMapper()
  • Method Details

    • objectMapper

      public static com.fasterxml.jackson.databind.ObjectMapper objectMapper()
    • toByteArray

      public static byte[] toByteArray(Object obj)
    • toByteBuffer

      public static ByteBuffer toByteBuffer(Object obj)
    • fromByteBuffer

      public static <T> T fromByteBuffer(ByteBuffer buffer, Class<T> clazz)