Class JsonAdapter
JsonAdapter provides a wrapper for to match the and interfaces.
Assembly: GroupMeClientApi.dll
Syntax
public class JsonAdapter : ISerializer, IDeserializer
Constructors
|
Improve this Doc
View Source
JsonAdapter(Newtonsoft.Json.JsonSerializer)
Declaration
public JsonAdapter(Newtonsoft.Json.JsonSerializer serializer)
Parameters
| Type |
Name |
Description |
| Newtonsoft.Json.JsonSerializer |
serializer |
The serializer that should be wrapped.
|
Properties
|
Improve this Doc
View Source
ContentType
Declaration
public string ContentType { get; set; }
Property Value
|
Improve this Doc
View Source
Default
Declaration
public static JsonAdapter Default { get; }
Property Value
Methods
|
Improve this Doc
View Source
Deserialize<T>(RestSharp.IRestResponse)
Declaration
public T Deserialize<T>(RestSharp.IRestResponse response)
Parameters
| Type |
Name |
Description |
| RestSharp.IRestResponse |
response |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Serialize(Object)
Declaration
public string Serialize(object obj)
Parameters
| Type |
Name |
Description |
| Object |
obj |
|
Returns
Implements
IDeserializer