AWScala icon indicating copy to clipboard operation
AWScala copied to clipboard

DynamoDB Json Support

Open bahtiyarerden opened this issue 9 years ago • 0 comments

I want to put item to dynamodb like this format:

{ "url":{ "schema":"https", "body":"www.abc.com", "params":[ { "Content-type":"json" }, { "Content-type":"text/html" } ] } }

for this format i am using this code block:

Map("url" -> Map("schema" -> "https", "body" -> "www.abc.com", "params" -> List(Map("Content-Type" -> "json"), Map("Content-type" -> "text/html"))))

but it gives me the output in this format:

{ "url": { "schema": "https", "body": "www.abc.com", "params": { "datatype": "SS", "contents": { "(Content-Type,json)": "(Content-Type,json)", "(Content-type,text/html)": "(Content-type,text/html)" } } } }

bahtiyarerden avatar Jan 18 '16 14:01 bahtiyarerden