SerializeObject Method (value, converters)

Json.NET

Json.NET - Quick Starts & API Documentation SerializeObject Method (value, converters)
NamespacesNewtonsoft.JsonJsonConvertSerializeObject(Object, array<JsonConverter>[]()[][])
Serializes the specified object to a JSON string using a collection of JsonConverter.
Declaration Syntax
C# Visual Basic Visual 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: 4.0.2.0 (4.0.2.13623)