예제 #1
0
 public static string toJson(this Hashtable obj)
 {
     return(MiniJSON.jsonEncode(obj));
 }
예제 #2
0
 public static ArrayList arrayListFromJson(this string json)
 {
     return(MiniJSON.jsonDecode(json) as ArrayList);
 }
예제 #3
0
 public static Hashtable ToHashtable(this string json)
 {
     return(MiniJSON.jsonDecode(json) as Hashtable);
 }
예제 #4
0
 public static string toJson(this Dictionary <string, string> obj)
 {
     return(MiniJSON.jsonEncode(obj));
 }