title: Convert Java object to Json request with alias property
body: <p>I need to convert the following java class to json string with different property name : </p>
  
  <pre><code>public class Company {
  
  private String companyYCode;
  
  private String companyName;
  
   getxx and setxx
  </code></pre>
  
  <p>}</p>
  
  <p>I need this as a json string</p>
  
  <p>{"y-code":"CICPK1214131231","company_name":"Some company" }</p>