CSharp examples for System.Collections.Generic:IDictionary
Encode IDictionary To Json
using System.Web; using Newtonsoft.Json; public class Main{ public static string EncodeToJson(this System.Collections.Generic.IDictionary<string, string> self) {/* www .ja v a2 s .c o m*/ return JsonConvert.SerializeObject(self); } }