Package io.quarkus.registry.config
Class RegistriesConfigMapperHelper
java.lang.Object
io.quarkus.registry.config.RegistriesConfigMapperHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tdeserialize(Path p, Class<T> t) static <T> TdeserializeYaml(InputStream is, Class<T> t) static <T> TdeserializeYaml(Reader reader, Class<T> t) static com.fasterxml.jackson.databind.ObjectMapperinitMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) static com.fasterxml.jackson.databind.ObjectMapperstatic voidstatic voidstatic voidstatic com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Details
-
RegistriesConfigMapperHelper
public RegistriesConfigMapperHelper()
-
-
Method Details
-
yamlMapper
public static com.fasterxml.jackson.databind.ObjectMapper yamlMapper() -
jsonMapper
public static com.fasterxml.jackson.databind.ObjectMapper jsonMapper() -
initMapper
public static com.fasterxml.jackson.databind.ObjectMapper initMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) -
serialize
- Throws:
IOException
-
toJson
- Throws:
IOException
-
toYaml
- Throws:
IOException
-
deserialize
- Throws:
IOException
-
deserializeYaml
- Throws:
IOException
-
deserializeYaml
- Throws:
IOException
-