Serialize from Objects to JSON content.

Namespace: MonoSoftware.Core
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public static string Serialize(
	Object content,
	Type type
)
Visual Basic
Public Shared Function Serialize ( 
	content As Object,
	type As Type
) As String
Visual C++
public:
static String^ Serialize(
	Object^ content, 
	Type^ type
)
F#
static member Serialize : 
        content : Object * 
        type : Type -> string 

Parameters

content
Type: System..::..Object
Serializes object to JSON.
type
Type: System..::..Type
Object type

Return Value

Type: String
Serialized object.

See Also