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)
Newtonsoft.Json Serializer settings not working on aspnet core app
I have the below configuration in my ASP.NET Core app
services
.AddControllers(options =>
{
options.Filters.Add<CacheActionFilter>();
options.Filters.Add<OutputMode...
jeff.eynon
Votes: 0
Answers: 0
How to Deserialize nested JSON into C# objects
I have this Json String and i have been trying to deserilize it, tried the below:
string jsonS = @"{
"version": "1.0.0",
"network": {
"id": "Z...
Keith
Votes: 0
Answers: 2
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