Class Jackson
- java.lang.Object
-
- software.amazon.awssdk.codegen.internal.Jackson
-
public final class Jackson extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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, String content)
static com.fasterxml.jackson.jr.stree.JrsValue
readJrsValue(String input)
static void
writeWithObjectMapper(Object value, Writer w)
-
-
-
Method Detail
-
readJrsValue
public static com.fasterxml.jackson.jr.stree.JrsValue readJrsValue(String input) throws IOException
- Throws:
IOException
-
load
public static <T> T load(Class<T> clazz, File file) throws IOException
- Throws:
IOException
-
load
public static <T> T load(Class<T> clazz, String content) throws IOException
- Throws:
IOException
-
load
public static <T> T load(Class<T> clazz, File file, boolean failOnUnknownProperties) throws IOException
- Throws:
IOException
-
writeWithObjectMapper
public static void writeWithObjectMapper(Object value, Writer w) throws IOException
- Throws:
IOException
-
-