Class JsonContent
java.lang.Object
software.amazon.awssdk.protocols.json.JsonContent
Simple struct like class to hold both the raw json string content and it's parsed JsonNode
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 providedbyte[]
-
Method Details
-
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
-