Class JsonContent
- java.lang.Object
-
- software.amazon.awssdk.protocols.json.JsonContent
-
public class JsonContent extends Object
Simple struct like class to hold both the raw json string content and it's parsed JsonNode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonContent
createJsonContent(SdkHttpFullResponse httpResponse, software.amazon.awssdk.thirdparty.jackson.core.JsonFactory jsonFactory)
Static factory method to create a JsonContent object from the contents of the HttpResponse providedJsonNode
getJsonNode()
byte[]
getRawContent()
-
-
-
Method Detail
-
createJsonContent
public static JsonContent createJsonContent(SdkHttpFullResponse httpResponse, software.amazon.awssdk.thirdparty.jackson.core.JsonFactory jsonFactory)
Static factory method to create a JsonContent object from the contents of the HttpResponse provided
-
getRawContent
public byte[] getRawContent()
-
getJsonNode
public JsonNode getJsonNode()
-
-