I have a type with property defined as ICollection<T>
Which is serialized as:
TypeNameHandling is set to Auto, obviously.
My suggestion is that if JSON.Net is already going to be using this collection type by default, it can omit the type declaration for that.
I looked at the code, and it seems like it is only possible to do so by directly modifying the SerializeList() method in JsonSerializerInternalWriter
This is a pretty common thing to happen, and it will produce much nicer JSON for the common case. Is it possible?