Interface IJsonConverter
Assembly: ImageVault.Common.dll
Syntax
public interface IJsonConverter
Methods
Deserialize(String, Type)
Deserializes a string to the supplied object type
Declaration
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
T Deserialize<T>(string json)
Parameters
Type |
Name |
Description |
System.String |
json |
|
Returns
Type Parameters
Serialize(Object)
Declaration
string Serialize(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Type |
Description |
System.String |
|
Extension Methods