Improve this Doc View Source

Class PocoJsonSerializerStrategy

Inheritance
System.Object
PocoJsonSerializerStrategy
Namespace:Dapplo.HttpExtensions
Assembly:Dapplo.HttpExtensions.dll
Syntax
public class PocoJsonSerializerStrategy : IJsonSerializerStrategy

Constructors

| Improve this Doc View Source

PocoJsonSerializerStrategy()

Declaration
public PocoJsonSerializerStrategy()

Methods

| Improve this Doc View Source

DeserializeObject(Object, Type)

Declaration
public virtual object DeserializeObject(object value, Type type)
Parameters
Type Name Description
System.Object value
System.Type type
Returns
Type Description
System.Object
| Improve this Doc View Source

MapClrMemberNameToJsonFieldName(String)

Declaration
protected virtual string MapClrMemberNameToJsonFieldName(string clrPropertyName)
Parameters
Type Name Description
System.String clrPropertyName
Returns
Type Description
System.String
| Improve this Doc View Source

SerializeEnum(Enum)

Declaration
protected virtual object SerializeEnum(Enum p)
Parameters
Type Name Description
System.Enum p
Returns
Type Description
System.Object
| Improve this Doc View Source

TrySerializeKnownTypes(Object, out Object)

Declaration
protected virtual bool TrySerializeKnownTypes(object input, out object output)
Parameters
Type Name Description
System.Object input
System.Object output
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TrySerializeNonPrimitiveObject(Object, out Object)

Declaration
public virtual bool TrySerializeNonPrimitiveObject(object input, out object output)
Parameters
Type Name Description
System.Object input
System.Object output
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TrySerializeUnknownTypes(Object, out Object)

Declaration
protected virtual bool TrySerializeUnknownTypes(object input, out object output)
Parameters
Type Name Description
System.Object input
System.Object output
Returns
Type Description
System.Boolean