UnionConverter.

WriteJson(JsonWriter, object, JsonSerializer) Method

Summary

Writes the JSON representation of the object.

Syntax

public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)

Parameters

Name Type Description
writer JsonWriter The Newtonsoft.Json.JsonWriter to write to.
value object The value.
serializer JsonSerializer The calling serializer.

Return Value

Type Description
void