title: Create Json in C#
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1056121/how-to-create-json-string-in-c-sharp">How to create JSON string in C#</a>  </p>
  </blockquote>
  
  
  
  <p>I want to use google chart in mt ASP.NET MVC application. There is no mvc examples in there and datatable struct. I have never worked Json before and I must create a json like following code.</p>
  
  <p>How can I create like this in C#</p>
  
  <pre><code>{"cols":[
    {"id":"","label":"Month","pattern":"","type":"string"},
    {"id":"","label":"Sales","pattern":"","type":"number"},
    {"id":"","label":"Expenses","pattern":"","type":"number"}],
  "rows":[
    {"c":[
      {"v":"April","f":null},
      {"v":1000,"f":null},
      {"v":900,"f":null},
    {"c":[
      {"v":"July","f":null},
      {"v":1030,"f":null},
      {"v":null,"f":null},
  "p":null
  }
  </code></pre>
  
  <p>I cant find easy examples about creating json in C#. Please Help me.</p>
  
  <p>Thanks.</p>