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

Serializes the specified object to a JSON string using a collection of JsonConverter.

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

Syntax

C#
public static string SerializeObject(
	Object value,
	Formatting formatting,
	JsonSerializerSettings settings
)
Visual Basic (Declaration)
Public Shared Function SerializeObject ( _
	value As Object, _
	formatting As Formatting, _
	settings As JsonSerializerSettings _
) As String
Visual C++
public:
static String^ SerializeObject(
	Object^ value, 
	Formatting formatting, 
	JsonSerializerSettings^ settings
)

Parameters

value
Type: System..::.Object
The object to serialize.
formatting
Type: Facebook.Json..::.Formatting
Indicates how the output is formatted.
settings
Type: Facebook.Json..::.JsonSerializerSettings
The JsonSerializerSettings used to serialize the object. If this is null, default serialization settings will be is used.

Return Value

A JSON string representation of the object.

See Also

JsonConvert Class
SerializeObject Overload
Facebook.Json Namespace