title: How to alter Jettison JSON format to exclude outer object wrapper?
body: <p>I just started working in an environment (<code>Java</code>) that uses Jettison exclusively for marshalling (<code>Object</code>-><code>JSON</code>) and GSON for the unmarshalling (<code>JSON</code>-><code>Object</code>).</p>
  
  <p>I have been having problems unmarshalling JSON objects that were created with the Jettison marshaller. I've noticed that for an object of class X, the jettison produced string is </p>
  
  <pre><code>{"X":{"prop1":"value1", "prop2":"value2"}}
  </code></pre>
  
  <p>When I try to un-marshal it with GSON, both prop1 and prop2 have null values.</p>
  
  <p>Not trusting the format of the JSON string Jettison produced, I tried to deserialize the string</p>
  
  <pre><code>{"prop1":"value1", "prop2":"value2"}
  </code></pre>
  
  <p>without the outer JSON wrapper, and GSON treated it correctly.</p>
  
  <p>Is there a way to get Jettison to produce JSON without the outer wrapper attached?  Or some way to get Jettison and GSON to work together?</p>