Appearance
Deserialize Method
Definition
- Namespace:
JASE.Serializers - Assembly:
JASE.Serializers.dll
Overloads
| Name | Description |
|---|---|
T Deserialize(string input) | Deserializes the specified XML string into an instance of the specified type. |
object Deserialize(string input, Type type, bool exceptOnUnknownElement = null) | Deserializes the specified XML string into an object of the specified type. |
object Deserialize(string input, Type type, bool exceptOnUnknownElement = null)
csharp
object Deserialize(string input, Type type, bool exceptOnUnknownElement = null)Deserializes the specified XML string into an object of the specified type.
Parameters
| Name | Description |
|---|---|
exceptOnUnknownElement | true to throw an exception if an unknown element is encountered during deserialization; otherwise, false. |
input | The XML string to deserialize. |
type | The type of object to deserialize the XML into. |
Returns
The deserialized object.
T Deserialize(string input)
csharp
T Deserialize(string input)Deserializes the specified XML string into an instance of the specified type.
Type parameters
| Name | Description |
|---|---|
T | The type to deserialize the XML into. |
Parameters
| Name | Description |
|---|---|
input | The XML string to deserialize. |
Returns
The deserialized object.