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