This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //using JSON.NET 4.5 | |
| using Newtonsoft.Json; | |
| using Newtonsoft.Json.Linq; | |
| using Newtonsoft.Json.Converters; | |
| //for a dynamic object | |
| dynamic person = new JObject(); | |
| person.name = "wangwei"; | |
| person.age = 25; | |
| string jsonStr = person.toString(); |