大家好。
如何将对象反序列化到此类,例如通过以下方法:
DataContractJsonSerializer serDB = new DataContractJsonSerializer(typeof(SortedList<string, SortedList<string, List<arccontent>>>));
DB = serDB.ReadObject(streamDB)作为SortedList<string, SortedList<string, List<arccontent>>>;
这样序列化器就不会重写比较器?
还是该怎么做?
谢谢你。
如何将对象反序列化到此类,例如通过以下方法:
DataContractJsonSerializer serDB = new DataContractJsonSerializer(typeof(SortedList<string, SortedList<string, List<arccontent>>>));
DB = serDB.ReadObject(streamDB)作为SortedList<string, SortedList<string, List<arccontent>>>;
这样序列化器就不会重写比较器?
还是该怎么做?
谢谢你。
由主持人最后编辑: