CodeCarvings.Piczard
SerializeToString(Object,JSONSerializationOptions,Boolean) Method
See Also  Send Feedback
CodeCarvings.Piczard.Serialization Namespace > JSONSerializer Class > SerializeToString Method : SerializeToString(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 Type name is serialized.
Serializes the specified object into a JSON string using the provided JSONSerializationOptions; the Type name is serialized according to the serializeType parameter.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function SerializeToString( _
   ByVal o As Object, _
   ByVal options As JSONSerializationOptions, _
   ByVal serializeType As Boolean _
) As String
C#  
public static string SerializeToString( 
   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 Type name is serialized.

Return Value

A JSON string 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.