What I want to do is take the property Value and assign a new value to it:
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
{
if (reader.TokenType == JsonToken.String)
{
reader.Value = "Item" + reader.Value; //--> This is what I want to accomplish
}
return base.ReadJson(reader, objectType, existingValue, serializer);
}
Of course this can't be done this way because reader.Value is read only. Is there any other way I can do this?
Thanks in advance.