Udostępnij za pośrednictwem


ResourceJsonConverter.WriteJson(JsonWriter, Object, JsonSerializer) Method

Definition

Serializes an object into a JSON string adding Properties.

public override void WriteJson (Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer);
override this.WriteJson : Newtonsoft.Json.JsonWriter * obj * Newtonsoft.Json.JsonSerializer -> unit
Public Overrides Sub WriteJson (writer As JsonWriter, value As Object, serializer As JsonSerializer)

Parameters

writer
Newtonsoft.Json.JsonWriter

The JSON writer.

value
Object

The value to serialize.

serializer
Newtonsoft.Json.JsonSerializer

The JSON serializer.

Applies to