EnumSerializationMethod Enumeration |
Represents enum type serialization method.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public enum EnumSerializationMethod
Public Enumeration EnumSerializationMethod
public enum class EnumSerializationMethod
type EnumSerializationMethod
Members
| Member name | Value | Description |
---|
| ByName | 0 |
Enums are serialized with their name. It is more torelant to versioning but less efficient.
|
| ByUnderlyingValue | 1 |
Enums are serialized with their underlying value. It is more efficient but less torelant to versioning.
|
See Also