Serialize Method (textWriter, value)

Json.NET

Json.NET - Quick Starts & API Documentation Serialize Method (textWriter, value)
NamespacesNewtonsoft.JsonJsonSerializerSerialize(TextWriter, Object)
Serializes the specified Object and writes the Json structure to a Stream using the specified TextWriter.
Declaration Syntax
C# Visual Basic Visual C++
public void Serialize(
	TextWriter textWriter,
	Object value
)
Public Sub Serialize ( _
	textWriter As TextWriter, _
	value As Object _
)
public:
void Serialize(
	TextWriter^ textWriter, 
	Object^ value
)
Parameters
textWriter (TextWriter)
The TextWriter used to write the Json structure.
value (Object)
The Object to serialize.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)