python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
JSON Converter changing case of values in netcoreapp3.1 web api
I have an enum extension that allows for enums to be transformed into their [Description] value, as in:
private enum WithDescription
{
[Description("Nothing")] None = 0,
...

Vic F
Votes: 0
Answers: 0
Result is [ null ] insted of [ ] after changing from JSON.NET to System.Text.Json in ASP.NET Core 6
I am working an ASP.NET Core 6.0 project.
I wrote a query which is related to this property:
public List<Holiday> Holidays { get; set; }
It returns
"holidays": [ null ],
This happens...
hanushi
Votes: 0
Answers: 0
System.Text.json JsonSerializer unicode issue on read from json file
In an C# .net core environment, using the System.Text.Json unicode characters are substituted. For example "ü" is shown after reading the json file into a list of an object into another symb...
kofler harald
Votes: 0
Answers: 1
Custom JSON Serialization in System.Text.Json
I am working on a project in .NET 6 and I need to serialize objects to JSON (and deserialize from JSON as well) in a specific way. These are the "rules":
If a property is a nested object, a...
dzenesiz
Votes: 0
Answers: 0