public class DeserializationUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeserializationUtils.CustomResolver |
static class |
DeserializationUtils.Options |
| Constructor and Description |
|---|
DeserializationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.yaml.snakeyaml.LoaderOptions |
buildLoaderOptions() |
static org.yaml.snakeyaml.Yaml |
buildSnakeYaml(org.yaml.snakeyaml.constructor.BaseConstructor constructor) |
static <T> T |
deserialize(Object contents,
String fileOrHost,
Class<T> expectedType) |
static <T> T |
deserialize(Object contents,
String fileOrHost,
Class<T> expectedType,
SwaggerDeserializationResult errorOutput) |
static com.fasterxml.jackson.databind.JsonNode |
deserializeIntoTree(String contents,
String fileOrHost) |
static com.fasterxml.jackson.databind.JsonNode |
deserializeIntoTree(String contents,
String fileOrHost,
SwaggerDeserializationResult errorOutput) |
static DeserializationUtils.Options |
getOptions() |
static com.fasterxml.jackson.databind.ObjectMapper |
getYamlMapper() |
static com.fasterxml.jackson.databind.JsonNode |
readYamlTree(String contents,
SwaggerDeserializationResult errorOutput) |
static void |
setYamlMapper(com.fasterxml.jackson.dataformat.yaml.YAMLFactory yamlFactory) |
public static void setYamlMapper(com.fasterxml.jackson.dataformat.yaml.YAMLFactory yamlFactory)
public static com.fasterxml.jackson.databind.ObjectMapper getYamlMapper()
public static DeserializationUtils.Options getOptions()
public static com.fasterxml.jackson.databind.JsonNode deserializeIntoTree(String contents, String fileOrHost)
public static com.fasterxml.jackson.databind.JsonNode deserializeIntoTree(String contents, String fileOrHost, SwaggerDeserializationResult errorOutput)
public static <T> T deserialize(Object contents, String fileOrHost, Class<T> expectedType)
public static <T> T deserialize(Object contents, String fileOrHost, Class<T> expectedType, SwaggerDeserializationResult errorOutput)
public static org.yaml.snakeyaml.Yaml buildSnakeYaml(org.yaml.snakeyaml.constructor.BaseConstructor constructor)
public static org.yaml.snakeyaml.LoaderOptions buildLoaderOptions()
public static com.fasterxml.jackson.databind.JsonNode readYamlTree(String contents, SwaggerDeserializationResult errorOutput) throws IOException
IOExceptionCopyright © 2025. All rights reserved.