Closed Tarmil closed 2 years ago
For example:
type Name = { [<JsonPropertyOrder 2>] firstName: string [<JsonPropertyOrder 1>] lastName: string } JsonSerializer.Serialize({ firstName = "John"; lastName = "Doe" }, options)
should serialize into
{"lastName":"Doe","firstName":"John"}
instead of the default
{"firstName":"John","lastName":"Doe"}
For example:
should serialize into
instead of the default