Json.NET - Quick Starts & API Documentation
SerializeObject Method (value, converters)
NamespacesNewtonsoft.JsonJavaScriptConvertSerializeObject(Object, array<JsonConverter>[]()[])
Serializes the specified object to a JSON string using a collection of JsonConverter.
Declaration Syntax
C#Visual BasicVisual C++
public static string SerializeObject(
	Object value,
	params JsonConverter[] converters
)
Public Shared Function SerializeObject ( _
	value As Object, _
	ParamArray converters As JsonConverter() _
) As String
public:
static String^ SerializeObject(
	Object^ value, 
	... array<JsonConverter^>^ converters
)
Parameters
value (Object)
The object to serialize.
converters (array< JsonConverter >[]()[])
A collection converters used while serializing.
Return Value
A JSON string representation of the object.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 2.0.0.0 (2.0.0.0)