title: How to output Json string as JsonResult in MVC4?
body: <p>This seems so simple I must be over-thinking it.  </p>
  
  <p><strong>TL;DR;</strong></p>
  
  <p>How can I modify the code below to return the json object contained in the string rather than a string that happens to contain json?</p>
  
  <pre><code>public ActionResult Test()
  {
    var json_string = "{ success: \"true\" }";
    return Json(json_string, JsonRequestBehavior.AllowGet);
  }
  </code></pre>
  
  <p>This code returns a string literal containing the json: </p>
  
  <pre><code>"{ success: "true" }"
  </code></pre>
  
  <p>However, I'd like it to return the json contained in the string:</p>
  
  <pre><code>{ success: "true" }
  </code></pre>
  
  <p><strong>Slightly longer version</strong></p>
  
  <p>I'm trying to quickly prototype some external api calls and just want to pass those results through my "api" as a fake response for now.  The json object is non-trivial - something on the order of 10,000 "lines" or 90KB.  I don't want to make a strongly typed object(s) for all the contents of this one json response just so I can run it through a deserializer - so that is out.</p>
  
  <p>So the basic logic in my controller is:</p>
  
  <ol>
  <li>Call externall api</li>
  <li>Store string result of web request into a var (see json_string above)</li>
  <li>Output those results as json (not a string) using the JsonResult producing method Json()</li>
  </ol>
  
  <p>Any help is greatly appreciated... mind is melting.</p>