Click or drag to resize
Json.NETJsonConvertSerializeObject Method (Object)
 
Serializes the specified object to a JSON string.

Namespace: Newtonsoft.Json
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 7.0.0.0 (7.0.1.18215)
Syntax
C#
public static string SerializeObject(
	Object value
)

Parameters

value
Type: SystemObject
The object to serialize.

Return Value

Type: String
A JSON string representation of the object.
See Also