Class RntbdObjectMapper
- java.lang.Object
-
- com.microsoft.azure.cosmosdb.internal.directconnectivity.rntbd.RntbdObjectMapper
-
public final class RntbdObjectMapper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TreadValue(File file, Class<T> type)static <T> TreadValue(InputStream stream, Class<T> type)static <T> TreadValue(String string, Class<T> type)static StringtoJson(Object value)static StringtoString(Object value)static com.fasterxml.jackson.databind.ObjectWriterwriter()
-
-
-
Method Detail
-
readValue
public static <T> T readValue(File file, Class<T> type) throws IOException
- Throws:
IOException
-
readValue
public static <T> T readValue(InputStream stream, Class<T> type) throws IOException
- Throws:
IOException
-
readValue
public static <T> T readValue(String string, Class<T> type) throws IOException
- Throws:
IOException
-
writer
public static com.fasterxml.jackson.databind.ObjectWriter writer()
-
-