title: Jackson Unwrap / Wrap Object
body: <p>I have a spring boot project and I have a class like this:</p>
  
  <pre><code>@Value
  public class A {
    @JsonUnwrapped
    OrderKey key;
    String description;
    B b;
  
    @Value
    public static class B {
      String description;
    }
  
  }
  
  @Value
  public class OrderKey {
    @JsonProperty( "_key" )
    String id;
  
  }
  </code></pre>
  
  <p>I have mixins but added the Annotations in this example for brevity.
  This works great when serializing to JSON, the issue is when I'm trying to deserialize, probably it would work if exist some <code>@JsonWrapped</code> annotation.</p>
  
  <p>In a nutshell, I'm trying to use ArangoDB with rest and I can create / read documents but I need to use my own Value Objects and unfortunately I can't use the key as String, it's encapsulated by an <code>OrderKey</code>.
  The <code>@Value</code> annotations is from lombok project.</p>
  
  <p>Is there any way to achieve this?</p>