On updating Episerver core to the latest version v11.13.0.0, the ParseToObject method in the PropertyList<T> class is removed. Kindly suggest an alternate for this method.
Thanks in advance.
public class PropertyListBase<T> : PropertyList<T>
{
public PropertyListBase()
{
objectSerializer = this.objectSerializerFactory.Service.GetSerializer("application/json");
}
private Injected<ObjectSerializerFactory> objectSerializerFactory;
private IObjectSerializer objectSerializer;
protected override T ParseItem(string value)
{
return objectSerializer.Deserialize<T>(value);
}
public override PropertyData ParseToObject(string value)
{
ParseToSelf(value);
return this;
}
}