Share via


TwinJsonConverter.WriteJson(JsonWriter, Object, JsonSerializer) Method

Definition

Converts Twin to its equivalent Json representation.

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 Twin to convert.

serializer
Newtonsoft.Json.JsonSerializer

the Json serializer.

Applies to