コード例 #1
0
 public static void Serialize(JsonWriter writer, object instance, string fieldPrefix)
 {
     new JsonSerializer(writer, fieldPrefix).SerializeValue(instance);
 }
コード例 #2
0
 public JsonSerializer(JsonWriter writer, string fieldPrefix)
 {
     _writer = writer;
     _currentGraph = new ArrayList(0);
     _fieldPrefix = fieldPrefix;
 }
コード例 #3
0
 public static void Serialize(JsonWriter writer, object instance)
 {
     Serialize(writer, instance, string.Empty);
 }
コード例 #4
0
 public JsonSerializer(JsonWriter writer)
     : this(writer, string.Empty)
 {
 }