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