Exemple #1
0
        public new void Add(object item)
        {
            System.Type t = item.GetType();

            if (t.Name == "String")
            {
                item = JSONEncode.StrEncodeForDeserialize(item.ToString());
            }

            base.Add(item);
        }
Exemple #2
0
        public new void Add(string key, object value)
        {
            System.Type t = value.GetType();

            if (t.Name == "String")
            {
                value = JSONEncode.StrEncodeForDeserialize(value.ToString());
            }

            base.Add(key, value);
        }