title: Issue with JSON.stringify adding a extra \ and "" to my Json object
body: <p>Hi I am creating using Javascript an array of object with a key and a value using the following code.</p>
  
  <pre><code>ValuesArray.push({ key: $(this).attr('someattribute'), value: $(this).val() });
  </code></pre>
  
  <p>As a result I have am array of object like this:</p>
  
  <pre><code>key:29; value: 'Country'
  Key:12; value: '4,3,5'
  </code></pre>
  
  <p>when I am trying to stringify it and send that JSON in a post I am having a wrong formatted JSON with \ and " in places that I dont want so when I try to desirales that JSON as a JObject on codebehind with C# I am having trouble. How can I create a clean JSON using the stringify</p>
  
  <pre><code>var jObject = JSON.stringify(ValuesArray);
  </code></pre>
  
  <p>My JSON now which is wrong is:</p>
  
  <pre><code>{
    "JObject": "[{\"key\":\"29\",\"value\":\"Country\"},  {\"key\":\"30\",\"value\":\"4,3,5\"}]"
  }
  </code></pre>
  
  <p>I would like to have a JSON object like this </p>
  
  <pre><code>{
    "JObject": [{"key":"29","value":"Country"},{"key":"30","value":"4,3,5"}]
  }
  </code></pre>
  
  <p>without the quotes around the <code>[]</code> and the character <code>\</code></p>
  
  <p>Any good idea to solve it.</p>
  
  <p>Thank you</p>
  
  <p>More detail this how I am sending the JSON to my API
  this is how I am sending the JSON to my Web API:   </p>
  
  <pre><code>function PostAPIRequest(address) {
  
             var jObject = JSON.stringify(ValuesArray);
  
             var responseJson = null;
             $.ajax({
                 url: address,
                 type: 'POST',
                 dataType: 'json',
                 data: { JObject: jObject },
                 success: function (data) {
                     responseJson = data
                     ProcessDataResponse(responseJson);
                     //TODO: REFRESH THE DATA GRID
                 },
                 error: function (xhr, ajaxOptions, thrownError) {
                     //TODO redirect to the error page and send error email there.
                     alert(xhr.status);
                     alert(thrownError);
                 }
             })
         }
  </code></pre>
  
  <p>and this how I am receiving it in my API controller</p>
  
  <pre><code>...
    // POST api/datavalues/5
  
  
     public string Post(int id, JObject  value)
      {
          var temp = value;
  
  ...
  </code></pre>