Class SerializationUtils
- java.lang.Object
-
- io.fabric8.kubernetes.client.internal.SerializationUtils
-
public class SerializationUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SerializationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
dumpAsYaml(io.fabric8.kubernetes.api.model.HasMetadata obj)
static String
dumpWithoutRuntimeStateAsYaml(io.fabric8.kubernetes.api.model.HasMetadata obj)
static com.fasterxml.jackson.databind.ObjectMapper
getMapper()
static com.fasterxml.jackson.databind.ObjectMapper
getStatelessMapper()
-
-
-
Method Detail
-
getStatelessMapper
public static com.fasterxml.jackson.databind.ObjectMapper getStatelessMapper()
-
getMapper
public static com.fasterxml.jackson.databind.ObjectMapper getMapper()
-
dumpAsYaml
public static String dumpAsYaml(io.fabric8.kubernetes.api.model.HasMetadata obj) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
dumpWithoutRuntimeStateAsYaml
public static String dumpWithoutRuntimeStateAsYaml(io.fabric8.kubernetes.api.model.HasMetadata obj) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-