Class JsonConverter.JsonConverterImpl
Inheritance
System.Object
JsonConverter.JsonConverterImpl
Assembly: ImageVault.Common.dll
Syntax
public class JsonConverterImpl : Object, IJsonConverter
Constructors
JsonConverterImpl(JsonSerializerSettings)
Declaration
public JsonConverterImpl(JsonSerializerSettings settings)
Parameters
Type |
Name |
Description |
Newtonsoft.Json.JsonSerializerSettings |
settings |
|
Methods
Deserialize(String, Type)
Deserializes a string to the supplied object type
Declaration
public object Deserialize(string json, Type type)
Parameters
Type |
Name |
Description |
System.String |
json |
|
System.Type |
type |
|
Returns
Type |
Description |
System.Object |
|
Deserialize<T>(String)
Deserializes a string to the supplied object
Declaration
public T Deserialize<T>(string json)
Parameters
Type |
Name |
Description |
System.String |
json |
|
Returns
Type Parameters
Serialize(Object)
Declaration
public string Serialize(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Type |
Description |
System.String |
|
Implements
Extension Methods