CodeCarvings.Piczard
GetSerializationException Method
See Also  Send Feedback
CodeCarvings.Piczard.Serialization Namespace > JSONSerializer Class : GetSerializationException Method

o
The object to serialize.
Determines if it's possible to serialize the specified object.

Syntax

Visual Basic (Declaration)  
Public Shared Function GetSerializationException( _
   ByVal o As Object _
) As JSONSerializationException
C#  
public static JSONSerializationException GetSerializationException( 
   object o
)

Parameters

o
The object to serialize.

Return Value

null in case it is possible to serialize the object; otherwise an instance of the JSONSerializationException class containing information about the first error occurred during the check.

Remarks

The GetSerializationException method does not throw the JSONSerializationException.

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.