I have a property in a class marked with the [SQLite.Ignore]-attribute:
[SQLite.Ignore] public string Name { get; set; }
When I serialize this class to json, the property is missing. When I remove the attribute, its serialized. Seems to me, that Json-serializer is considering this attribute as exclusion.
To exclude properties from serializing, the [JsonIgnore] is used. But in this case, the Json-serializer is also considering the [SQLite.Ignore]-attribute, which is intended for use in SQLite only.
So, the Json-serializer should actually ignore the [SQLite.Ignore]-attribute and serialize the property. Or am I missing something?
Using Newtonsoft.Json 13.03 with c#.