title: How to convert String with Date to Json Object?
body: <p>I want to convert one string to JSON Object in my Javascript. When I convert to Json Object the date in the String totally changed</p>
  
  <p>This is my string </p>
  
  <pre><code>var JsonData=[[2013-02-27,787],[2013-02-26,131],[2013-02-02,0],[2013-01-20,8],[2012-12-28,12]]
  </code></pre>
  
  <p>I am converting to JSON object with the following </p>
  
  <pre><code>var json = eval( JsonData );
  </code></pre>
  
  <p>Then I get following result in alert</p>
  
  <pre><code>1984,787,1985,131,2009,0,1992,8,1972,12
  </code></pre>
  
  <p>Can anyone please guide me? How do I solve this?</p>
  
  <p>Now I Got error of following</p>
  
  <pre><code>Timestamp: 3/7/2013 1:10:36 PM
  Error: TypeError: this.proxy.getTime is not a function
  </code></pre>
  
  <p>in somewhere in my javascript..so i am thinking that its beacuse the date is not converted properly in Json Object..is it so??can anyone please guide?</p>