title: Spring Boot human readable error messages after JSON parsing error
body: <p>I have a REST API written using Spring Boot. Now I would like to to enhance error handling. If user sends either not valid JSON or JSON which can not me deserialized to my DTO I would to inform user what exactly was wrong, e.g. unexpected property name, type etc. Still I don't want to expose any information about the implementation (e.g. stacktrace, class names).</p>
  <p>Default Spring implementation returns</p>
  <pre><code>InvalidFormatException: Cannot deserialize value of type `java.lang.Integer` from String \&quot;aaa\&quot;: not a valid Integer value\n at [Source: (PushbackInputStream); line: 10, column: 19]
   (through reference chain: com.yell.statementofwork.model.StatementOfWorkCompletionDtoSe[\&quot;purchasedProducts\&quot;]-&gt;java.util.ArrayList[0]-&gt;com.yell.statementofwork.model.PurchasedProductDtoSe[\&quot;quantity\&quot;])&quot;,
  </code></pre>
  <p>which is almost good but  I would prefer to remove information about class from it.
  Do you have any proposition how to do that?</p>