November Happy Hour will be moved to Thursday December 5th.

Class JsonPropertyValueConverter

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
JsonPropertyValueConverter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAccess.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IPropertyValueConverter))]
public class JsonPropertyValueConverter : 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