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,
File file,
boolean failOnUnknownProperties) |
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 IOException
IOException
public static <T> T load(Class<T> clazz, File file, boolean failOnUnknownProperties) throws IOException
IOException
public static <T> T load(Class<T> clazz, InputStream is) throws IOException
IOException
public static <T> T load(Class<T> clazz, String fileLocation) throws IOException
IOException
public static void write(Object value, Writer w) throws IOException
IOException
Copyright © 2019. All rights reserved.