title: Jira post error - expecting comma to separate OBJECT entries
body: <p>I am trying to use the below code to create new project issue in my jira,</p>
  
  <pre><code>using using System.Text;
  using System.Net.Http;
  using System.Json;
  using System.Web.Script.Serialization;
  
  namespace Test
  {
      class Class1
      {
          public void CreateIssue()
          {
              string message = "Hai \"!Hello\" ";
              string data = "{\"fields\":{\"project\":{\"key\":\"TP\"},\"summary\":\"" + message +    "\",\"issuetype\":{\"name\": \"Bug\"}}}";
              System.Net.Http.HttpClient client = new System.Net.Http.HttpClient();
              client.DefaultRequestHeaders.ExpectContinue = false;
              client.Timeout = TimeSpan.FromMinutes(90);
              byte[] crdential = UTF8Encoding.UTF8.GetBytes("adminName:adminPassword");
              client.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Basic", Convert.ToBase64String(crdential));
              client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json"));     
              System.Net.Http.HttpContent content = new StringContent(data, Encoding.UTF8, "application/json");
              try
              {
                  client.PostAsync("http://localhost:8080/rest/api/2/issue",content).ContinueWith(requesTask=&gt;
                  {
                      try
                      {
                          HttpResponseMessage response = requesTask.Result;
                          response.EnsureSuccessStatusCode();
                          response.Content.ReadAsStringAsync().ContinueWith(readTask =&gt;
                          {
                              var out1 = readTask.Result;
                          });
                      }
                      catch (Exception exception)
                      {
                          Console.WriteLine(exception.StackTrace.ToString());
                          Console.ReadLine();
                      }
                  });
              }
              catch (Exception exc)
              {
              }
          }
      }
  }
  </code></pre>
  
  <p><strong>It throws the error like below:</strong></p>
  
  <blockquote>
    <p>"{\"errorMessages\":[\"Unexpected character ('!' (code 33)): was expecting comma to separate OBJECT entries\n at [Source: org.apache.catalina.connector.CoyoteInputStream@1ac4eeea; line: 1, column: 52]\"]}"</p>
  </blockquote>
  
  <p>But i use the same json file in Firefox Poster , i have created the issue.</p>
  
  <blockquote>
    <p>Json file : {"fields":{"project":{"key":"TP"},"summary":"Hai \"!Hello\" ",\"issuetype\":{\"name\": \"Bug\"}}}"</p>
  </blockquote>
  
  <p>So, what's wrong with my code?</p>