title: Go AWS, marshal to JSON from DynamoDB Item, omit null values
body: <p>I'm trying to query my DynamoDB table and convert the results to a json string.</p>
  
  <pre><code>sess, _ := session.NewSession(&amp;aws.Config{
      Region: aws.String("eu-central-1")},
  )
  dyn = dynamodb.New(sess)
  
  var limit int64 = 5
  out, err := dyn.Scan(&amp;dynamodb.ScanInput{
      TableName: aws.String("Products"),
      Limit: &amp;limit,
  })
  
  b, _ := json.Marshal(out.Items[0])
  fmt.Println(string(b))
  </code></pre>
  
  <p>But the result is unfortunately filled with NULLs, and I don't want to send the whole thing over the wire:</p>
  
  <pre><code>"Price":{"B":null,"BOOL":null,"BS":null,"L":null,"M":null,"N":"17119","N
  S":null,"NULL":null,"S":null,"SS":null}
  </code></pre>
  
  <p>I know that this has to do with the dynamo.AttributeValue type.
  Is it possible to omit null values?</p>
  
  <p>Thank you.</p>