CodeCarvings.Piczard
ToJSONObject Method
See Also  Send Feedback
CodeCarvings.Piczard.Serialization Namespace > IJSONSerializable Interface : ToJSONObject Method

options
An JSONSerializationOptions object containing options necessary for the serialization process.
Converts the object into a representation based on the JSONObject class.

Syntax

Visual Basic (Declaration)  
Function ToJSONObject( _
   ByVal options As JSONSerializationOptions _
) As JSONObject
C#  
JSONObject ToJSONObject( 
   JSONSerializationOptions options
)

Parameters

options
An JSONSerializationOptions object containing options necessary for the serialization process.

Return Value

A JSONObject instance containing the representation of the object or null.

Exceptions

Exception Description
JSONSerializationException The method was invoked on an object that cannot be 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.