Class Mapper
java.lang.Object
com.couchbase.analytics.client.java.internal.utils.json.Mapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TconvertValue(Object fromValue, com.fasterxml.jackson.core.type.TypeReference<T> toValueType) static <T> TconvertValue(Object fromValue, Class<T> toValueType) static com.fasterxml.jackson.databind.JsonNodereadTree(byte[] json) static <T> Tstatic <T> Tstatic voidwriteValue(OutputStream outputStream, @Nullable Object value) static byte[]writeValueAsBytes(@Nullable Object value) static StringwriteValueAsString(@Nullable Object value)
-
Constructor Details
-
Mapper
public Mapper()
-
-
Method Details
-
readTree
public static com.fasterxml.jackson.databind.JsonNode readTree(byte[] json) -
convertValue
public static <T> T convertValue(Object fromValue, com.fasterxml.jackson.core.type.TypeReference<T> toValueType) -
convertValue
-
readValue
-
readValue
-
writeValueAsString
-
writeValueAsBytes
-
writeValue
-