Improve this Doc View Source

Class SimpleJsonSerializer

This defines the default way how Json is de-/serialized.

Inheritance
System.Object
SimpleJsonSerializer
Namespace:Dapplo.HttpExtensions.Support
Assembly:Dapplo.HttpExtensions.dll
Syntax
public class SimpleJsonSerializer : IJsonSerializer

Methods

| Improve this Doc View Source

DeserializeJson(Type, String)

Declaration
public object DeserializeJson(Type targetType, string jsonString)
Parameters
Type Name Description
System.Type targetType
System.String jsonString
Returns
Type Description
System.Object
| Improve this Doc View Source

DeserializeJson<TResult>(String)

Declaration
public TResult DeserializeJson<TResult>(string jsonString)where TResult : class
Parameters
Type Name Description
System.String jsonString
Returns
Type Description
TResult
| Improve this Doc View Source

SerializeJson<T>(T)

Declaration
public string SerializeJson<T>(T jsonObject)
Parameters
Type Name Description
T jsonObject
Returns
Type Description
System.String