-
Couldn't load subscription status.
- Fork 5.2k
Closed
Labels
area-System.Text.Jsonbugin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Milestone
Description
Describe the bug
System.Text.Json serializes tuples as {}
Expected Behavior
Tuples being serialized and deserialized correctly
Steps To Reproduce
Console.WriteLine(JsonSerializer.Serialize(("el0", "el1"))); // output: {}
EDIT (@krwq): simplified repro to just essentials
Metadata
Metadata
Assignees
Labels
area-System.Text.Jsonbugin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged