For instance, I have an json array like:
[
{
color: "red",
value: "#f00"
},
{
color: "blue",
value: "#00f"
},
{
color: "cyan",
value: "#0ff"
}]
Seems the dynamoDB recommendation is to add a "key-name" to the array.
[
color1: {
color: "red",
value: "#f00"
},
color2: {
color: "blue",
value: "#00f"
},
color3: {
color: "cyan",
value: "#0ff"
}]
Is there a different way to add an json array into DynamoDB?