Package org.openrewrite
Class RecipeSerializer
java.lang.Object
org.openrewrite.RecipeSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
maybeAddKotlinModule
(com.fasterxml.jackson.databind.ObjectMapper mapper) If it is available on the runtime classpath, add jackson's Kotlin module to the provided object mapper.read
(byte[] bytes) read
(InputStream input) byte[]
void
write
(Recipe recipe, OutputStream out)
-
Constructor Details
-
RecipeSerializer
public RecipeSerializer()
-
-
Method Details
-
write
-
write
-
read
-
read
-
maybeAddKotlinModule
public static void maybeAddKotlinModule(com.fasterxml.jackson.databind.ObjectMapper mapper) If it is available on the runtime classpath, add jackson's Kotlin module to the provided object mapper. Does nothing if jackson's kotlin module is not available.
-