title: Convert Json response object to string using JQuery
body: <p>This is the JSON response getting from webservice URL .
   JSON:</p>
  
  <pre><code>{
     "data":[
        {
           "outputQty":"2",
           "orderSummaries":[],
           "categoryName":"test",
           "itemId":1,
           "recipes":[],
           "name":"Laddu"
        },
        {
           "outputQty":"2",
           "orderSummaries":[],
           "categoryName":"Badam Pista Mundiri",
           "itemId":2,
           "recipes":[],
           "name":"Barpi"
        }
     ]
  }
  </code></pre>
  
  <p>I tried to get JSON values in html page .So that I tried as like below:</p>
  
  <pre><code>$.ajax({  
         type: "GET",  
         url: "http://tomcatworkbench.com/Catering2/secured/getAllItems",  
         dataType: "json",  
         success: function(response) {
           $.each(response, function(idx, obj) {
    console.log(obj);
  });
      }
         });  
  </code></pre>
  
  <p>or</p>
  
  <pre><code> $.getJSON("http://tomcatworkbench.com/Catering2/secured/getAllItems", function(data){
      $.each(data, function (index, value) {
          console.log(value);
      });
  });
  </code></pre>
  
  <p>Both way returns object only I can't get string values.Please anyone help me to get out this issue.Thanks in advance.</p>