class Aws::Json::RestHandler

Public Instance Methods

parse_body(json, shape, target) click to toggle source

@param [String] json @param [Seahorse::Model::Shapes::Structure] shape @param [Structure, nil] target

# File lib/aws-sdk-core/json/rest_handler.rb, line 14
def parse_body(json, shape, target)
  Parser.new.parse(shape, json, target)
end
serialize_params(shape, params) click to toggle source

@param [Seahorse::Model::Shapes::Structure] shape @param [Hash] params

# File lib/aws-sdk-core/json/rest_handler.rb, line 7
def serialize_params(shape, params)
  Builder.new.to_json(shape, params)
end