-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
dotnet/corefx
#41482Labels
area-System.Text.JsonenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionsjson-functionality-docMissing JSON specific functionality that needs documentingMissing JSON specific functionality that needs documenting
Milestone
Description
dotnet/corefx#39001 added support for types derived from BCL collections that are natively supported by the serializer, with the exception of read-only types, and types that do not implement any of:
IListICollection<T>Stack<T>Queue<T>IDictionaryIDictionary<string, TValue>
Some examples are public class StackWrapper : Stack { } and StringValues. The serializer throws a NotSupportedException when a deserialization attempt is made for these types.
More investigation/design needs to be done, but these types can be supported by using reflection to probe for the right constructors to populate them if we determine to support them in the future.
Metadata
Metadata
Assignees
Labels
area-System.Text.JsonenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionsjson-functionality-docMissing JSON specific functionality that needs documentingMissing JSON specific functionality that needs documenting