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

Namespace: DayPilot.Web.Ui.Json
Assembly: DayPilot (in DayPilot.dll) Version: 8.1.3443.0 (8.1.3443.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