public final class Utils
extends java.lang.Object
OpenLineageClient.| Modifier and Type | Method and Description |
|---|---|
static <T> T |
fromJson(@NonNull java.lang.String json,
@NonNull com.fasterxml.jackson.core.type.TypeReference<T> type)
Converts the provided Json
string to the specified type. |
static OpenLineageYaml |
loadOpenLineageYaml(ConfigPathProvider configPathProvider) |
static com.fasterxml.jackson.databind.ObjectMapper |
newObjectMapper()
Returns a new
ObjectMapper instance. |
static java.lang.String |
toJson(@NonNull java.lang.Object value)
Converts the provided
value to a Json string. |
static java.net.URI |
toUri(@NonNull java.lang.String urlString)
Converts the provided
urlString to an URI object. |
public static com.fasterxml.jackson.databind.ObjectMapper newObjectMapper()
ObjectMapper instance.public static java.lang.String toJson(@NonNull
@NonNull java.lang.Object value)
value to a Json string.public static <T> T fromJson(@NonNull
@NonNull java.lang.String json,
@NonNull
@NonNull com.fasterxml.jackson.core.type.TypeReference<T> type)
string to the specified type.public static java.net.URI toUri(@NonNull
@NonNull java.lang.String urlString)
urlString to an URI object.public static OpenLineageYaml loadOpenLineageYaml(ConfigPathProvider configPathProvider)