Description

ConvertToMap accepts a map[string]interface{} or struct and converts it to a map[string]*dynamodb.AttributeValue.

If in contains any structs, it is first JSON encoded/decoded it to convert it to a map[string]interface{}, so `json` struct tags are respected.

Deprecated: Use MarshalMap instead

ConvertToMap is referenced in 7 repositories

github.com/aws/aws-sdk-go github.com/robskie/dynami github.com/crewjam/dynamotree

...