public class Jackson extends Object
| Constructor and Description |
|---|
Jackson() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
load(Class<T> clazz,
File file) |
static <T> T |
load(Class<T> clazz,
InputStream is) |
static <T> T |
load(Class<T> clazz,
String fileLocation) |
static void |
write(Object value,
Writer w) |
public static <T> T load(Class<T> clazz, File file) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionpublic static <T> T load(Class<T> clazz, InputStream is) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionpublic static <T> T load(Class<T> clazz, String fileLocation) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionpublic static void write(Object value, Writer w) throws com.fasterxml.jackson.core.JsonGenerationException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonGenerationExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionCopyright © 2022. All rights reserved.