You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`JsonUnionEncoding` also contains a few items that combine several of the above flags.
@@ -417,6 +438,7 @@ type Location =
417
438
JsonUnionEncoding.AdjacentTag
418
439
||| JsonUnionEncoding.UnwrapOption
419
440
||| JsonUnionEncoding.UnwrapSingleCaseUnions
441
+
||| JsonUnionEncoding.AllowUnorderedTag
420
442
```
421
443
422
444
It is particularly useful if you want to use the default encoding with some additional options, for example:
@@ -430,6 +452,7 @@ type Location =
430
452
431
453
```fsharp
432
454
JsonUnionEncoding.AdjacentTag
455
+
||| JsonUnionEncoding.AllowUnorderedTag
433
456
```
434
457
435
458
* `JsonUnionEncoding.ThothLike` causes similar behavior to the library [Thoth.Json](https://thoth-org.github.io/Thoth.Json/).
@@ -438,6 +461,7 @@ type Location =
438
461
```fsharp
439
462
JsonUnionEncoding.InternalTag
440
463
||| JsonUnionEncoding.UnwrapFieldlessTags
464
+
||| JsonUnionEncoding.AllowUnorderedTag
441
465
```
442
466
443
467
* `JsonUnionEncoding.FSharpLuLike` causes similar behavior to the library [FSharpLu.Json](https://github.com/microsoft/fsharplu/wiki/FSharpLu.Json) in Compact mode.
0 commit comments