Open Reenuay opened 2 years ago
For example:
type A = A1 | A2 of int
Serializing A1 case gives "A1". But deserialization of "A1" throws an exception. The A2 case, on the other hand, works perfectly in both directions.
For example:
type A = A1 | A2 of int
Serializing A1 case gives "A1". But deserialization of "A1" throws an exception. The A2 case, on the other hand, works perfectly in both directions.