title: Parsing JSON with special characters
body: <p>I am using flot to do some graphing and I am having some trouble passing the tickSize with my json.  I am using MVC and pass the json in a model.  Here is some code to grab the json within my javascript function:</p>
  
  <pre><code>var json = '&lt;%=Model.Json %&gt;';
  var data = jQuery.parseJSON(json);
  </code></pre>
  
  <p>Here is how the Json looks leaving the controller:</p>
  
  <pre><code>{\"GraphData\":[{\"X\":1333929600000,\"Y\":0.0},{\"X\":1333670400000,\"Y\":0.46}],\"Max\":1333324800000,\"Min\":1333929600000,\"TickSize\":\"[1, 'day']\"}
  </code></pre>
  
  <p>The part that I am having trouble with is "TickSize."  As you can see, "[1, 'day']" has the square brackets.  I think there is some parsing problem because [] usually means an array.  Flot wants the tick size in this format.  How do I construct my Json so I can grab the TickSize?</p>