class Aws::Json::SimpleBodyHandler


Parsing the response only happens for a successful response.
No attempt is made to extract errors from the HTTP response body.
* The response body is deserialized as JSON for the response data
* The request parameters are serialized as JSON for the request body
This plugin performs two trivial translations:

def build_json(context)

def build_json(context)
  context.http_request.body = MultiJson.dump(context.params)
end

def call(context)

def call(context)
  build_json(context)
  @handler.call(context).on_success do |response|
    response.error = nil
    response.data = parse_json(context)
  end
end

def parse_json(context)

def parse_json(context)
  MultiJson.load(context.http_response.body_contents)
end