SerializeObject Method (value, settings)

Json.NET

Json.NET - Quick Starts & API Documentation SerializeObject Method (value, settings)
NamespacesNewtonsoft.JsonJsonConvertSerializeObject(Object, JsonSerializerSettings)
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,
	JsonSerializerSettings settings
)
Public Shared Function SerializeObject ( _
	value As Object, _
	settings As JsonSerializerSettings _
) As String
public:
static String^ SerializeObject(
	Object^ value, 
	JsonSerializerSettings^ settings
)
Parameters
value (Object)
The object to serialize.
settings (JsonSerializerSettings)
The JsonSerializerSettings used to serialize the object. If this is null, default serialization settings will be is used.
Return Value
A JSON string representation of the object.

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