java.lang.Object
io.xpipe.core.util.JacksonMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic com.fasterxml.jackson.databind.ObjectMapperstatic voidstatic voidinitModularized(ModuleLayer layer) static booleanisInit()static com.fasterxml.jackson.databind.ObjectMapperConstructs a new ObjectMapper that is able to map all required X-Pipe classes and also possible extensions.static <T> T
-
Constructor Details
-
JacksonMapper
public JacksonMapper()
-
-
Method Details
-
parse
public static <T> T parse(String s, Class<T> c) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
configure
-
initClassBased
public static void initClassBased() -
initModularized
-
newMapper
public static com.fasterxml.jackson.databind.ObjectMapper newMapper()Constructs a new ObjectMapper that is able to map all required X-Pipe classes and also possible extensions. -
getDefault
public static com.fasterxml.jackson.databind.ObjectMapper getDefault() -
isInit
public static boolean isInit()
-