CodeCarvings.Piczard
Serialize(Object,Boolean) Method
See Also  Send Feedback
CodeCarvings.Piczard.Serialization Namespace > JSONSerializer Class > Serialize Method : Serialize(Object,Boolean) Method

o
The object to serialize.
serializeType
If true the SerializationType of the resulting JSONObject is set.
Serializes the specified object into a JSONObject using the Default JSONSerializationOptions; the Type name is serialized according to the serializeType parameter.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function Serialize( _
   ByVal o As Object, _
   ByVal serializeType As Boolean _
) As JSONObject
C#  
public static JSONObject Serialize( 
   object o,
   bool serializeType
)

Parameters

o
The object to serialize.
serializeType
If true the SerializationType of the resulting JSONObject is set.

Return Value

A JSONObject representing the object that has been serialized.

Remarks

For more information about JSON serialization please see: JSON Serialization.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.