public final class Jackson extends Object
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.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
public 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.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
public 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.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
public static void write(Object value, Writer w) throws com.fasterxml.jackson.core.JsonGenerationException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonGenerationException
com.fasterxml.jackson.databind.JsonMappingException
IOException
Copyright © 2018. All rights reserved.