예제 #1
0
 /// <summary>
 /// 从对象中写入流中
 /// </summary>
 /// <param name="writer">写入流</param>
 /// <param name="setting">配置项</param>
 /// <param name="source">源数据</param>
 public abstract void Write(ISerializerWriter writer, JsonSerializeSetting setting, T source);
예제 #2
0
 /// <summary>
 /// Initializes static members of the <see cref="DefaultSetting"/> class.
 /// </summary>
 static DefaultSetting()
 {
     DefaultSerializeSetting   = new JsonSerializeSetting("_d_");
     DefaultDeserializeSetting = new JsonDeserializeSetting("_d_");
     DeserializeBuilderTable   = new Hashtable(30);
 }