title: How do I escape HTML elements in C# .NET using JavaScriptSerializer?
body: <p>Consider this code:</p>
  
  <pre><code>// Dictionary created.
  
  Dictionary&lt;string, string&gt; objDic = new Dictionary&lt;string, string&gt;();
  string test = "&lt;&gt;";
  objDic.Add("html", test);
  
  var Json = new JavaScriptSerializer();
  
  string response = Json.Serialize(return_obj);
  </code></pre>
  
  <p>Output response:</p>
  
  <pre><code>[{"html":"\u003c\u003e"}]
  </code></pre>
  
  <p>Expected response:</p>
  
  <pre><code>[{"html":"&lt;&gt;"}]
  </code></pre>
  
  <p>How do I get the expected response?</p>