UnionRepresentationsModule
PackageReified.Schema
Common complete representations for recommended authoring and serializer-compatible lifting.
Summary
| Name | Signature | Synopsis |
|---|---|---|
| recommended | UnionRepresentations.recommended | Reified's recommended internally tagged, named-field representation. |
| fsharpSystemTextJsonDefault | UnionRepresentations.fsharpSystemTextJsonDefault | FSharp.SystemTextJson's default Case/Fields positional representation. |
| fsharpSystemTextJsonInternalNamed | UnionRepresentations.fsharpSystemTextJsonInternalNamed | The recommended FSharp.SystemTextJson internal-tag plus named-fields profile. |
| fsharpSystemTextJsonExternalNamed | UnionRepresentations.fsharpSystemTextJsonExternalNamed | FSharp.SystemTextJson external tags with named multi-field payloads and unwrapped fieldless/single-field cases. |
| reifiedAdjacent | UnionRepresentations.reifiedAdjacent | Reified's former adjacent { type, value } representation. |
| compactExternal | UnionRepresentations.compactExternal | A compact external representation with fieldless cases encoded as strings. |
Reified's recommended internally tagged, named-field representation.
Returns
UnionRepresentation
FSharp.SystemTextJson's default
Case/Fields positional representation.Returns
UnionRepresentation
The recommended FSharp.SystemTextJson internal-tag plus named-fields profile.
Returns
UnionRepresentation
FSharp.SystemTextJson external tags with named multi-field payloads and unwrapped fieldless/single-field cases.
Returns
UnionRepresentation
Reified's former adjacent
{ type, value } representation.Returns
UnionRepresentation