public class EntityResultList: List<Model.EntityResult>
{
public EntityResultAttribute[] Attributes { get; set; }
}
if i do serialization with newtonsoft the Property "Attributes" is missing in json text. it seems to be related to de inheritence to a generic list. any ideas how i can fix this? :-(
the serialization is done with this options:
string serializedReply = JsonConvert.SerializeObject(reply, new JsonSerializerSettings
{
PreserveReferencesHandling = PreserveReferencesHandling.Objects,
TypeNameHandling = TypeNameHandling.All
});