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

o
The object to serialize.
options
An instance of the JSONSerializationOptions class containing data for the JSON serialization process.
serializeType
If true the SerializationType of the resulting JSONObject is set.
Serializes the specified object into a JSONObject using the provided 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 options As JSONSerializationOptions, _
   ByVal serializeType As Boolean _
) As JSONObject
C#  
public static JSONObject Serialize( 
   object o,
   JSONSerializationOptions options,
   bool serializeType
)

Parameters

o
The object to serialize.
options
An instance of the JSONSerializationOptions class containing data for the JSON serialization process.
serializeType
If true the SerializationType of the resulting JSONObject is set.

Return Value

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.