dynamodb boto put_item of type Map “M”
问题 Has anyone successfully performed a put operation of a map into dynamodb using boto (python)? I basically need to put a json object. So far I have only been able to put it as json string but I cannot find an example of inserting a map anywhere. Thanks a lot. 回答1: Since it does not looks like boto supports JSON in its high-level API interface, you have to use the low-level API interface and annotate your JSON object into a DynamoDB-supported wire format as such: "time": { "M": { "creation