.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 any more advanced JSON features (but maybe one as described below), and 3.0 now comes with a built-in namespace/classes for JSON, System.Text.Json , I decided to see if I could drop the previous default Newtonsoft.Json . Do note, I'm aware that System.Text.Json will not completely replace Newtonsoft.Json . I managed to do that everywhere, e.g. var obj = JsonSerializer.Parse<T>(jsonstring); var jsonstring = JsonSerializer