public static void Serialize(JsonWriter writer, object instance, string fieldPrefix) { new JsonSerializer(writer, fieldPrefix).SerializeValue(instance); }
public JsonSerializer(JsonWriter writer, string fieldPrefix) { _writer = writer; _currentGraph = new ArrayList(0); _fieldPrefix = fieldPrefix; }
public static void Serialize(JsonWriter writer, object instance) { Serialize(writer, instance, string.Empty); }
public JsonSerializer(JsonWriter writer) : this(writer, string.Empty) { }