public class JsonSerdeUtil extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper |
createObjectMapper(SerdeContext serdeCtx)
Create an
ObjectMapper which DeserializationContext wraps a SerdeContext . |
static boolean |
hasJsonCreatorAnnotation(Class<?> clazz)
Return true if the given class's constructors have @JsonCreator annotation, else false.
|
public static boolean hasJsonCreatorAnnotation(Class<?> clazz)
public static org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(SerdeContext serdeCtx)
ObjectMapper
which DeserializationContext wraps a SerdeContext
.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.