title: Parse JSON record to extract key and value and put into Map in java
body: <p>I have one column in my table which will store data in string format the sample data is</p>
  
  <pre><code>{"pre-date":{"enable":true,"days":"3","interval":"1","mail-template":"582"},"on-date":{"enabled":false},"post-date":{"enabled":false}}
  </code></pre>
  
  <p>and the string contains data like json data
  but when i will send this record for controller to view it should be in format</p>
  
  <pre><code>enable : true
  days : 3
  interval : 1
  </code></pre>
  
  <p>so that i can set values to respective form elements how to do this in java any help</p>