Order of serialized fields using JSON.NET
The supported way is to use the JsonProperty attribute on the class properties that you want to set the order for. Read the JsonPropertyAttribute order documentation for more information. Pass the JsonProperty an Order value and the serializer will take care of the rest. [JsonProperty(Order = 1)] This is very similar to the DataMember(Order = … Read more