Serializes the specified object to a JSON string.

Namespace: Newtonsoft.Json
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 6.0.0.0 (6.0.3.17227)

Syntax

C#
public static string SerializeObject(
	Object value
)

Parameters

value
Type: System..::..Object
The object to serialize.

Return Value

Type: String
A JSON string representation of the object.

See Also