title: Insert JSON formatted string into JSON structure
body: <p>I have a question about inserting a json formatted string into a json structure and having the final version be a combined JSON formatted string that can be serialized into a JSON structure.  I am using the newtonsofts Json.NET</p>
  
  <p>I have the following JSON structure:</p>
  
  <pre><code>public class ResponseJson
  {
      [JsonProperty(PropertyName = "header")]
      public ResponseHeader responseHeader { get; set; }
  
      [JsonProperty(PropertyName = "results")]
      public string responseResults { get; set; }
  }
  
  public class ResponseHeader
  {
      [JsonProperty(PropertyName = "name")]
      public string name { get; set; }
  
      [JsonProperty(PropertyName = "version")]
      public string version { get; set; }
  }
  </code></pre>
  
  <p>In the code, I do the following:</p>
  
  <pre><code>        ResponseJson responseJson = new ResponseJson();
          responseJson.responseHeader = new ResponseHeader()
          {
              name = A_NAME,
              version = A_VERSION
          };
          responseJson.responseResults = resultJson;
  
          return JsonConvert.SerializeObject(responseJson, new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore });
  </code></pre>
  
  <p>resultJson is a properly formatted JSON string (in this case, an array of objects, but could be anything JSON formatted).  Right now, if i execute the code, I get the following (which is expected, since "results" is declared as a string):</p>
  
  <pre><code>{
      "header":
          {
              "name":"abcd",
              "version":"1.0"
          },
      "results":
          "[{\"data\":{\"level\":\"100\"},\"code\":{\"value\":\"JBC\",\"type\":\"ev\"},\"time\":{\"start\":\"20\",\"end\":\"101\"}}]"
  }
  </code></pre>
  
  <p>what I do need as an output is:</p>
  
  <pre><code>{
      "header":
          {
              "name":"abcd",
              "version":"1.0"
          },
      "results":
          [
              {
                  "data":
                      {
                          "level":"100"
                      },
                  "code":
                      {
                          "value":"JBC",
                          "type":"ev"
                      },
                  "time":
                      {
                          "start":"20",
                          "end":"101"
                      }
              }
          ]
  }
  </code></pre>