|
James has published a first beta of LINQ to JSON support in his Json.NET library . It looks very similar to my LINQ support in an internal build of Ajax.NET Professional which never has been released. List < Post > posts = GetPosts(); JObject rss = new JObject( new JProperty( " channel " , new JObject( new JProperty( " title " , " James Newton-King " ), new JProperty( " link " , " http://james.newtonking.com " ), new JProperty( " description " , " James Newton-King's blog. " ), new JProperty( " item " , new JArray( from p in posts orderby p.Title select new JObject( new JProperty( " title " , p.Title), new JProperty( " description...
|