Class JacksonUtils
- java.lang.Object
-
- software.amazon.awssdk.core.auth.policy.internal.JacksonUtils
-
public final class JacksonUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TfromJsonString(String json, Class<T> clazz)Returns the deserialized object from the given json string and target class; or null if the given json string is null.static com.fasterxml.jackson.core.JsonGeneratorjsonGeneratorOf(Writer writer)static com.fasterxml.jackson.databind.JsonNodejsonNodeOf(String json)
-
-
-
Method Detail
-
fromJsonString
public static <T> T fromJsonString(String json, Class<T> clazz)
Returns the deserialized object from the given json string and target class; or null if the given json string is null.
-
jsonNodeOf
public static com.fasterxml.jackson.databind.JsonNode jsonNodeOf(String json)
-
jsonGeneratorOf
public static com.fasterxml.jackson.core.JsonGenerator jsonGeneratorOf(Writer writer) throws IOException
- Throws:
IOException
-
-