Tarmil / FSharp.SystemTextJson

System.Text.Json extensions for F# types
MIT License
329 stars 43 forks source link

Untagged Unwrapped Single Cases #136

Open daniellittledev opened 2 years ago

daniellittledev commented 2 years ago

Implements: Add Support for Untagged Unwrapped Single Cases #135

This PR would add support for Untagged Unwrapped Single Field Cases.

To support Deserialization it assumes all cases have unique types so finding the case if unambiguous.

This supports a fixed set of primitive types: