msgpack-cli
msgpack-cli copied to clipboard
MessagePackObject does not support decimal/float conversion
Is there a reason that MessagePackObject does not support AsDecimal/AsFloat conversion like it does for the rest of the value types?
Good question.
- There is
AsSingle
instead ofAsFloat
becausefloat
is C# keyword rather than CLS compliant type name. -
MessagePackObject
represents one of types of native msgpack types (https://github.com/msgpack/msgpack/blob/master/spec.md).decimal
is not "native" type of message pack.