Class JsonPropertyValueConverter

Inheritance
System.Object
JsonPropertyValueConverter
Namespace: EPiServer.DataAccess.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class JsonPropertyValueConverter : Object, IPropertyValueConverter<PropertyJson>, IPropertyValueConverter

Constructors

JsonPropertyValueConverter(LazyPropertyValueLoader, IPermanentLinkMapper)

Declaration
public JsonPropertyValueConverter(LazyPropertyValueLoader lazyPropertyValueLoader, IPermanentLinkMapper permanentLinkMapper)
Parameters
Type Name Description
LazyPropertyValueLoader lazyPropertyValueLoader
IPermanentLinkMapper permanentLinkMapper

Methods

Deserialize(String, Type)

Declaration
protected virtual object Deserialize(string value, Type type)
Parameters
Type Name Description
System.String value
System.Type type
Returns
Type Description
System.Object

GetValue(PropertyJson, PropertyValueConverterContext)

Declaration
public PropertyDataRecord GetValue(PropertyJson property, PropertyValueConverterContext context)
Parameters
Type Name Description
PropertyJson property
PropertyValueConverterContext context
Returns
Type Description
PropertyDataRecord

Serialize(Object)

Declaration
protected virtual string Serialize(object value)
Parameters
Type Name Description
System.Object value
Returns
Type Description
System.String

SetValue(PropertyJson, PropertyDataRecord, PropertyValueConverterContext)

Declaration
public void SetValue(PropertyJson property, PropertyDataRecord dataRecord, PropertyValueConverterContext context)
Parameters
Type Name Description
PropertyJson property
PropertyDataRecord dataRecord
PropertyValueConverterContext context

Explicit Interface Implementations

IPropertyValueConverter.GetValue(PropertyData, PropertyValueConverterContext)

Declaration
PropertyDataRecord IPropertyValueConverter.GetValue(PropertyData property, PropertyValueConverterContext context)
Parameters
Type Name Description
PropertyData property
PropertyValueConverterContext context
Returns
Type Description
PropertyDataRecord

IPropertyValueConverter.SetValue(PropertyData, PropertyDataRecord, PropertyValueConverterContext)

Declaration
void IPropertyValueConverter.SetValue(PropertyData property, PropertyDataRecord dataRecord, PropertyValueConverterContext context)
Parameters
Type Name Description
PropertyData property
PropertyDataRecord dataRecord
PropertyValueConverterContext context

Implements

Extension Methods