title: Which JAX-B annotated class implements following both representations?
body: <p>Which JAX-B annotated class implements following both representations 
  (with Jackson's <a href="http://fasterxml.github.io/jackson-jaxrs-json-provider/javadoc/2.0.1/com/fasterxml/jackson/jaxrs/json/JacksonJaxbJsonProvider.html" rel="nofollow">JacksonJaxbJsonProvider</a>)?</p>
  
  <p>JSON:</p>
  
  <pre><code>{"propertyList": [ 
       {"key": "aKey", "value": "someValue"}, 
       {"key": "anotherKey", "value": "someOtherValue"}
  ]}
  </code></pre>
  
  <p>XML:</p>
  
  <pre><code> &lt;root&gt;
      &lt;propertyList&gt;
          &lt;property&gt;
              &lt;key&gt;aKey&lt;/key&gt;
              &lt;value&gt;someValue&lt;/value&gt;
          &lt;/property&gt;
          &lt;property&gt;
              &lt;key&gt;anotherKey&lt;/key&gt;
              &lt;value&gt;someOtherValue&lt;/value&gt;
          &lt;/property&gt;
     &lt;/propertyList&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>Following classes implement JSON:</p>
  
  <pre><code>@XmlRootElement
  @XmlAccessorType(XmlAccessType.FIELD)
  public class Root {
  
      @XmlElement
      private List&lt;Property&gt; propertyList;
  }
  
  @XmlAccessorType(XmlAccessType.FIELD)
  public class Property {
  
      @XmlElement
      private String key;
  
      @XmlElement
      private String value;
  }
  </code></pre>
  
  <p>Following class implements XML:</p>
  
  <pre><code>@XmlRootElement
  @XmlAccessorType(XmlAccessType.FIELD)
  public class Root{
  
      @XmlElementWrapper(name="propertyList")
      @XmlElement(name="property")
      private List&lt;Property&gt; propertyList;
  }
  </code></pre>
  
  <p>Exists an implementation for both representations? Or is there a way to use the @XmlElementWrapper with JSON?</p>