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()
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
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