Json.NET - Quick Starts & API Documentation
SerializeObject Method (value)
NamespacesNewtonsoft.JsonJsonConvertSerializeObject(Object)
Serializes the specified object to a JSON string.
Declaration Syntax
C#Visual BasicVisual C++
public static string SerializeObject(
	Object value
)
Public Shared Function SerializeObject ( _
	value As Object _
) As String
public:
static String^ SerializeObject(
	Object^ value
)
Parameters
value (Object)
The object to serialize.
Return Value
A JSON string representation of the object.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.5.14908)