public final class RntbdObjectMapper extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
readValue(File file,
Class<T> type) |
static <T> T |
readValue(InputStream stream,
Class<T> type) |
static <T> T |
readValue(String string,
Class<T> type) |
static String |
toJson(Object value) |
static String |
toString(Object value) |
static com.fasterxml.jackson.databind.ObjectWriter |
writer() |
public static <T> T readValue(File file, Class<T> type) throws IOException
IOExceptionpublic static <T> T readValue(InputStream stream, Class<T> type) throws IOException
IOExceptionpublic static <T> T readValue(String string, Class<T> type) throws IOException
IOExceptionpublic static com.fasterxml.jackson.databind.ObjectWriter writer()
Copyright © 2020. All rights reserved.