toGenericMap

fun <K, V> Map<K, V>.toGenericMap(): GenericMap<K, V>

Convenience method to wrap a Map in a MsgPack-serializable GenericMap instance.