EnumMemberSerializationMethod Enumeration |
Represents individual enum typed member serialization method.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public enum EnumMemberSerializationMethod
Public Enumeration EnumMemberSerializationMethod
public enum class EnumMemberSerializationMethod
type EnumMemberSerializationMethod
Members
| Member name | Value | Description |
---|
| Default | 0 |
Respects setting in enum type itself or system default.
|
| ByName | 1 |
Enums are serialized with their name. It is more torelant to versioning but less efficient.
|
| ByUnderlyingValue | 2 |
Enums are serialized with their underlying value. It is more efficient but less torelant to versioning.
|
See Also