Closed eliburke closed 8 years ago
I don't think it's in the scope of this project to integrate this code, which adds support for another library.
Fair enough. But to be clear... this doesn't add support for another library. It's just utility code to create MessagePackValues.
@eliburke Ah, I understand now. I would say that converting from Array<Any>
to MessagePackValue
is not in the scope of this project.
I am adding MsgPack support to SWAMP. The SWAMP serializer protocol operates on an array of [Any], so I had to write code to recursively convert each item to the corresponding
MessagePackValue
variant.Do you have any interest in integrating this code, either as a standalone function, a ConvenienceInitializer, or an overload of pack() ?
Heck it's a pretty small amount of code.. here it is if you don't want it in case someone else finds it useful: