You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though this can be expected given the nature of stacks in general, it certainly violates expectations when it comes to marshalling collections. FWIW this is not specific to STJ as similar behavior can be observed when applying a stack to its own IEnumerable constructor.
The text was updated successfully, but these errors were encountered:
Even though this can be expected given the nature of stacks in general, it certainly violates expectations when it comes to marshalling collections. FWIW this is not specific to STJ as similar behavior can be observed when applying a stack to its own IEnumerable constructor.
Author:
eiriktsarpalis
Assignees:
-
Labels:
area-System.Text.Json
Milestone:
-
ghost
removed
the
untriaged
New issue has not been triaged by the area owner
label
Mar 7, 2023
FWIW I'm not necessarily proposing that we fix this (users might rely on the current behavior 😱) although we should make sure that it is at least documented given that the type is officially supported.
The code
Produces
Even though this can be expected given the nature of stacks in general, it certainly violates expectations when it comes to marshalling collections. FWIW this is not specific to STJ as similar behavior can be observed when applying a stack to its own IEnumerable constructor.
The text was updated successfully, but these errors were encountered: