Click or drag to resize
Json.NET

JsonSerializer.Serialize Method (JsonWriter, Object)

 
Serializes the specified Object and writes the JSON structure using the specified JsonWriter.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public void Serialize(
	JsonWriter jsonWriter,
	Object value
)

Parameters

jsonWriter
Type: Newtonsoft.Json.JsonWriter
The JsonWriter used to write the JSON structure.
value
Type: System.Object
The Object to serialize.
See Also