13

Since System.Text.Json is now the JSON lib for .NET Core 3.0, is there an attribute/param matching Json.NET's JsonProperty(Order)? I browsed through the classes extending System.Text.Json.Serialization.JsonAttribute, but none seem to serve this purpose.

Going through JsonSerializer.Write.HandleObject.cs etc. didn't show me anything that could directly replace the legacy attribute here. Did I miss something, and, if not, what is the simplest way to replicate the legacy behaviour here?

0 Answers0