Class JsonPropertyValueConverter
Inheritance
System.Object
JsonPropertyValueConverter
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
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
Returns
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
Explicit Interface Implementations
IPropertyValueConverter.GetValue(PropertyData, PropertyValueConverterContext)
Declaration
PropertyDataRecord IPropertyValueConverter.GetValue(PropertyData property, PropertyValueConverterContext context)
Parameters
Returns
IPropertyValueConverter.SetValue(PropertyData, PropertyDataRecord, PropertyValueConverterContext)
Declaration
void IPropertyValueConverter.SetValue(PropertyData property, PropertyDataRecord dataRecord, PropertyValueConverterContext context)
Parameters
Implements
Extension Methods