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.Yaml |
buildSnakeYaml(org.yaml.snakeyaml.constructor.BaseConstructor constructor) |
static <T> T |
deserialize(Object contents,
String fileOrHost,
Class<T> expectedType) |
static com.fasterxml.jackson.databind.JsonNode |
deserializeIntoTree(String contents,
String fileOrHost) |
static com.fasterxml.jackson.databind.JsonNode |
deserializeIntoTree(String contents,
String fileOrHost,
ParseOptions parseOptions,
SwaggerParseResult deserializationUtilsResult) |
static DeserializationUtils.Options |
getOptions() |
static com.fasterxml.jackson.databind.JsonNode |
readYamlTree(String contents) |
static com.fasterxml.jackson.databind.JsonNode |
readYamlTree(String contents,
ParseOptions parseOptions,
SwaggerParseResult deserializationUtilsResult) |
static <T> T |
readYamlValue(String contents,
Class<T> expectedType) |
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, ParseOptions parseOptions, SwaggerParseResult deserializationUtilsResult)
public static <T> T deserialize(Object contents, String fileOrHost, Class<T> expectedType)
public static com.fasterxml.jackson.databind.JsonNode readYamlTree(String contents)
public static com.fasterxml.jackson.databind.JsonNode readYamlTree(String contents, ParseOptions parseOptions, SwaggerParseResult deserializationUtilsResult)
public static org.yaml.snakeyaml.Yaml buildSnakeYaml(org.yaml.snakeyaml.constructor.BaseConstructor constructor)
Copyright © 2022. All rights reserved.