Hi,
I have below class which is generated from .net client.
When i try to save in redis cache, i get the "Not able to serialize Object type" error.
Please help me how to resolve it.
public partial class AttributeValueType
{
[DataMember]
private object itemField;
[System.Xml.Serialization.XmlElementAttribute("IntValue", typeof(int))]
[System.Xml.Serialization.XmlElementAttribute("StringValue", typeof(string))]
[System.Xml.Serialization.XmlElementAttribute("dateValue", typeof(System.DateTime), DataType = "date")]
[System.Xml.Serialization.XmlElementAttribute("doubleValue", typeof(double))]
public object Item
{
get { return this.itemField; }
set { this.itemField = value; }
}
}