Table of Contents

WriteObject Method

Definition

Namespace
Codebelt.Extensions.Newtonsoft.Json
Assemblies
Codebelt.Extensions.Newtonsoft.Json.dll
Source
src/Codebelt.Extensions.Newtonsoft.Json/JsonWriterExtensions.cs

WriteObject(JsonWriter, object, JsonSerializer)

Serializes the specified value and writes the JSON structure using the specified writer.

public static void WriteObject(this JsonWriter writer, object value, JsonSerializer serializer)

Parameters

writer JsonWriter

The Newtonsoft.Json.JsonWriter used to write the JSON structure.

value object

The Object to serialize.

serializer JsonSerializer

The calling Newtonsoft.Json.JsonSerializer.