Top "System.text.json" questions

System.

ASP.NET Core 3.0 System.Text.Json Camel Case Serialization

In ASP.NET Core 3.0 Web API project, how do you specify System.Text.Json serialization options to serialize/deserialize Pascal …

c# json asp.net-core system.text.json
Formatting DateTime in ASP.NET Core 3.0 using System.Text.Json

I am migrating a web API from .NET Core 2.2 to 3.0 and want to use the new System.Text.Json. When …

c# json datetime asp.net-core system.text.json
System.Text.Json.JsonElement ToObject workaround

I want to know the equivalent of the ToObject<>() method in Json.NET for System.Text.Json. Using …

c# .net-core-3.0 system.text.json
Parsing a JSON file with .NET core 3.0/System.text.Json

I'm trying to read and parse a large JSON file that cannot fit in memory with the new JSON reader …

c# json .net-core-3.0 system.text.json
How do you read a simple value out of some json using System.Text.Json?

I have this json {"id":"48e86841-f62c-42c9-ae20-b54ba8c35d6d"} How do I get the 48…

c# .net-core system.text.json
.Net Core 3.0 JsonSerializer populate existing object

I'm preparing a migration from ASP.NET Core 2.2 to 3.0. As I don't use more advanced JSON features (but maybe one …

c# asp.net-core razor-pages asp.net-core-3.0 system.text.json
The JSON value could not be converted to System.Nullable[System.Int32]

I updated an ASP.NET Core 2.2 API to ASP.NET Core 3.0 and I am using System.Json: services .AddMvc() .SetCompatibilityVersion(…

c# asp.net-core asp.net-core-3.0 system.text.json
Is polymorphic deserialization possible in System.Text.Json?

I try to migrate from Newtonsoft.Json to System.Text.Json. I want to deserialize abstract class. Newtonsoft.Json has …

c# json .net-core-3.0 system.text.json
ASP.NET MVC Core API Serialize Enums to String

How to serialize Enum fields to String instead of an Int in ASP.NET MVC Core 3.0? I'm not able to …

c# asp.net-mvc asp.net-core-3.0 .net-core-3.0 system.text.json
JsonConverter equivalent in using System.Text.Json

I'm starting to migrate some code I have from Newtonsoft.Json to System.Text.Json in a .net Core 3.0 app. …

c# json .net-core .net-core-3.0 system.text.json