title: Exclude null properties when converting object to string via toString()
body: <pre><code>class Person {
    public String name;
    public String nickname;
  } 
  </code></pre>
  <p>When converting a POJO from Object to String, I want to exclude any values which are null, so that if I have <code>Person = {name = &quot;Jack&quot;, nickname = null}</code>, the toString() will just return <code>{name = &quot;Jack&quot;}</code></p>
  <p>Is this use case possible?</p>
  <p>Edit: Yes, I am using Lombok. Maybe the solution is to implement my own toString()</p>
  <h3>References:</h3>
  <ul>
  <li><a href="https://groups.google.com/forum/#!topic/project-lombok/YC-eo2_XmsI" rel="nofollow noreferrer">https://groups.google.com/forum/#!topic/project-lombok/YC-eo2_XmsI</a></li>
  </ul>