[]
Deserializes the JSON to the specified .NET type using JsonSetting.
public static T DeserializeObject<T>(string strJson, JsonSetting js = null)
| Type | Name | Description |
|---|---|---|
| string | strJson | The object to deserialize. |
| JsonSetting | js | The JsonSetting used to deserialize the object. If this is null, default serialization settings will be used. |
| Type | Description |
|---|---|
| T | The deserialized object from the JSON string. |
| Name | Description |
|---|---|
| T | The type of the object to deserialize to. |
Deserializes the JSON to the specified .NET type using JsonSetting.
public static object DeserializeObject(string strJson, JsonSetting js = null)
| Type | Name | Description |
|---|---|---|
| string | strJson | The object to deserialize. |
| JsonSetting | js | The JsonSetting used to deserialize the object. If this is null, default serialization settings will be used. |
| Type | Description |
|---|---|
| object | The deserialized object from the JSON string. |
Deserializes the JSON to the specified type using JsonSetting.
public static object DeserializeObject(string strJson, Type type, JsonSetting js = null)
| Type | Name | Description |
|---|---|---|
| string | strJson | The object to deserialize. |
| Type | type | The type the json will be deserialized. |
| JsonSetting | js | The JsonSetting used to deserialize the object. If this is null, default serialization settings will be used. |
| Type | Description |
|---|---|
| object | The deserialized object from the JSON string. |