C# Class SimpleJson.PocoJsonSerializerStrategy

Inheritance: IJsonSerializerStrategy
Datei anzeigen Open project: CarlosHBC/UnityDecompiled

Public Methods

Method Description
DeserializeObject ( object value, Type type ) : object
PocoJsonSerializerStrategy ( ) : SimpleJson.Reflection
TrySerializeNonPrimitiveObject ( object input, object &output ) : bool

Protected Methods

Method Description
MapClrMemberNameToJsonFieldName ( string clrPropertyName ) : string
SerializeEnum ( Enum p ) : object
TrySerializeKnownTypes ( object input, object &output ) : bool
TrySerializeUnknownTypes ( object input, object &output ) : bool

Private Methods

Method Description
ContructorDelegateFactory ( Type key ) : ReflectionUtils.ConstructorDelegate
GetterValueFactory ( Type type ) : ReflectionUtils.GetDelegate>.IDictionary
SetterValueFactory ( Type type ) : IDictionary>

Method Details

DeserializeObject() public method

public DeserializeObject ( object value, Type type ) : object
value object
type System.Type
return object

MapClrMemberNameToJsonFieldName() protected method

protected MapClrMemberNameToJsonFieldName ( string clrPropertyName ) : string
clrPropertyName string
return string

PocoJsonSerializerStrategy() public method

public PocoJsonSerializerStrategy ( ) : SimpleJson.Reflection
return SimpleJson.Reflection

SerializeEnum() protected method

protected SerializeEnum ( Enum p ) : object
p System.Enum
return object

TrySerializeKnownTypes() protected method

protected TrySerializeKnownTypes ( object input, object &output ) : bool
input object
output object
return bool

TrySerializeNonPrimitiveObject() public method

public TrySerializeNonPrimitiveObject ( object input, object &output ) : bool
input object
output object
return bool

TrySerializeUnknownTypes() protected method

protected TrySerializeUnknownTypes ( object input, object &output ) : bool
input object
output object
return bool