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 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

      public JsonNode getJsonNode()