C# Class XSerializer.SerializableJsonProperty

Show file Open project: QuickenLoans/XSerializer

Public Methods

Method Description
ReadValue ( JsonReader reader, IJsonSerializeOperationInfo info, string path ) : object
SerializableJsonProperty ( PropertyInfo propertyInfo, bool encrypt, XSerializer.JsonMappings mappings, bool shouldUseAttributeDefinedInInterface ) : System
SetValue ( object instance, JsonReader reader, IJsonSerializeOperationInfo info, string path ) : void
SetValue ( object instance, object value ) : void
WriteValue ( JsonWriter writer, object instance, IJsonSerializeOperationInfo info ) : void

Private Methods

Method Description
GetGetValueFunc ( PropertyInfo propertyInfo, Type declaringType ) : object>.Func
GetSetValueAction ( PropertyInfo propertyInfo, Type declaringType ) : object>.Action

Method Details

ReadValue() public method

public ReadValue ( JsonReader reader, IJsonSerializeOperationInfo info, string path ) : object
reader JsonReader
info IJsonSerializeOperationInfo
path string
return object

SerializableJsonProperty() public method

public SerializableJsonProperty ( PropertyInfo propertyInfo, bool encrypt, XSerializer.JsonMappings mappings, bool shouldUseAttributeDefinedInInterface ) : System
propertyInfo System.Reflection.PropertyInfo
encrypt bool
mappings XSerializer.JsonMappings
shouldUseAttributeDefinedInInterface bool
return System

SetValue() public method

public SetValue ( object instance, JsonReader reader, IJsonSerializeOperationInfo info, string path ) : void
instance object
reader JsonReader
info IJsonSerializeOperationInfo
path string
return void

SetValue() public method

public SetValue ( object instance, object value ) : void
instance object
value object
return void

WriteValue() public method

public WriteValue ( JsonWriter writer, object instance, IJsonSerializeOperationInfo info ) : void
writer JsonWriter
instance object
info IJsonSerializeOperationInfo
return void