[This is preliminary documentation and is subject to change.]

Serializes the specified Object and writes the Json structure to a Stream using the specified TextWriter.

Namespace:  Facebook.Json
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public void Serialize(
	TextWriter textWriter,
	Object value
)
Visual Basic (Declaration)
Public Sub Serialize ( _
	textWriter As TextWriter, _
	value As Object _
)
Visual C++
public:
void Serialize(
	TextWriter^ textWriter, 
	Object^ value
)

Parameters

textWriter
Type: System.IO..::.TextWriter
The TextWriter used to write the Json structure.
value
Type: System..::.Object
The Object to serialize.

See Also

JsonSerializer Class
Serialize Overload
Facebook.Json Namespace