class Aws::Json::Builder
def format(shape, value)
-
(Object)
-
Parameters:
-
value
(Object
) -- -
shape
(Seahorse::Model::Shapes::Shape
) --
def format(shape, value) case shape.type when 'structure' then structure(shape, value) when 'list' then list(shape, value) when 'map' then map(shape, value) when 'timestamp' then shape.format_time(value, 'unixTimestamp') when 'blob' then Base64.strict_encode64(value.read) else value end end