title: How to map JSON request to String using SPRING REST
body: <p>I have a REST API with uri :</p>
  
  <pre><code>POST
  /version/path/generic
  Consumes : Application/JSON
  </code></pre>
  
  <p>The JSON can be of different format. Any valid JSON can be input of this API. So to support this in the webmethod, how can we map it in JAVA ?</p>
  
  <pre><code>String 
  Object
  MAP
  </code></pre>
  
  <p>Not getting proper json in any of the above formats ?</p>