title: Format a Json string from server side in jquery client side
body: <p>this the fiddle </p>
  
  <p><a href="http://jsfiddle.net/zzk3rgrm/3/" rel="nofollow noreferrer">http://jsfiddle.net/zzk3rgrm/3/</a></p>
  
  <p>I am getting the json string from server like this below </p>
  
  <p>JS</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var myjsonstring = [{"Key":"item1","Value":"problem statement 1"},{"Key":"item1","Value":"problem statement 2 bigstatement  bigstatement bigstatement bigstatement bigstatement"},{"Key":"item2","Value":"problem statement 1"},{"Key":"item3","Value":"problem statement 1"}];
  
  myjsonstring = JSON.stringify(myjsonstring);
     
  
  alert(myjsonstring);</code></pre>
  </div>
  </div>
  
  now as you see in code <code>Key</code>  , <code>Value</code>these words are coming these should be removed . 
  "," as seperator coming so should be removed and in place of comma , a new line should be there so that each item shows up in seperate line . </p>
  
  <p>also all the {} [] these characters removed . </p>
  
  <p>so that in the alert it comes like below </p>
  
  <pre><code>item1 - problem statement 1
  item1- problem statement 2 bigstatement  bigstatement bigstatement bigstatement bigstatement
  item2- problem statement 1
  item3 -problem statement 1
  </code></pre>
  
  <p>Please help here</p>