title: Pojo class name Serialization
body: <p><strong>I WANT TO SERIALIZE WITH CUSTOM NAME DONT CLASS NAME</strong></p>
  
  <p>I alreay know about <a href="https://stackoverflow.com/questions/24453703/include-class-name-in-all-objects-serialized-by-jackson">this</a>. Pls dont refer to this answer.</p>
  
  <p>How to Serialize pojo class name with jackson.
  Example:</p>
  
  <pre><code>public class A{
  private int a;
  //getter seeter
  }
  </code></pre>
  
  <p>when serialize A want to be like:</p>
  
  <pre><code>{"a": 1,"class":"ARequest"}
  </code></pre>
  
  <p>how to serialize Pojo with given <code>className</code>. Is it possible without override <code>toString()</code> method .I used this class in retrofit Post method body.</p>
  
  <p>One point i dont serialize it under class name like:</p>
  
  <pre><code>{"ARequest":{"a":5}}
  </code></pre>