Serializes an object to a JSON string. Unknown classes are serialized using ToString().

Namespace: DayPilot.Web.Mvc.Json
Assembly: DayPilot.Web.Mvc (in DayPilot.Web.Mvc.dll) Version: 8.0.5796.0 (8.0.5796.0)

Syntax

C#
public static string Serialize(
	Object obj
)
Visual Basic
Public Shared Function Serialize ( _
	obj As Object _
) As String
Visual C++
public:
static String^ Serialize(
	Object^ obj
)

Parameters

obj
Type: System..::..Object
Supports null, int, double, bool, DateTime, string, IDictionary, and IList.

Return Value

See Also