Esempio n. 1
0
 public static string hashtableToJson(this Hashtable table)
 {
     return(MiniJSON.jsonEncode(table));
 }
Esempio n. 2
0
 public static Hashtable hashtableFromJson(this string json)
 {
     return(MiniJSON.jsonDecode(json) as Hashtable);
 }
Esempio n. 3
0
 public static string toJson(this Dictionary <string, string> obj)
 {
     return(MiniJSON.jsonEncode(obj));
 }
Esempio n. 4
0
 public static ArrayList arrayListFromJson(this string json)
 {
     return(MiniJSON.jsonDecode(json) as ArrayList);
 }
Esempio n. 5
0
 public static string toJson(this Hashtable obj)
 {
     return(MiniJSON.jsonEncode(obj));
 }