title: How to create this json string using Jackson?
body: <p>Here's my desired output</p>
  
  <pre><code>{"node":{"type":"community","field_incentives":{"und":[{"value":"fun"},{"value":"nice"}]},"field_community_email":{"und":[{"value":"some@one.com"}]}}}
  </code></pre>
  
  <p>Here's my code but it does not seem to generate the output above.  If there's a better and simpler way to do this, please let me know.  Thanks</p>
  
  <pre><code>ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
  JsonFactory f = new JsonFactory();
  JsonGenerator g = f.createJsonGenerator(outputStream);
  g.writeStartObject();
  g.writeObjectFieldStart("node");
  g.writeStringField("type", "community");
  g.writeObjectFieldStart("field_incentives");
  g.writeFieldName("und");
  g.writeStartArray();
  ???I don't know how to make [{"value":"fun"},{"value":"nice"}]
  g.writeEndArray();
  g.writeEndObject();
  g.close();
  </code></pre>