msgpack-cli icon indicating copy to clipboard operation
msgpack-cli copied to clipboard

Request to support UnpackTo in ReflectionObjectMessagePackSerializer

Open 7ujian opened this issue 8 years ago • 1 comments

Hello,

I'm using msgpack-cli to serialize my game scene in Unity. Since in Unity "new Monobehaviour()" is not allowed, "UnpackTo" is only way to unserialize data to a component. But it seems ReflectionObjectMessagePackSerializer doesn't support UnpackTo. Do you consider adding support for this in future?

Thank you!

7ujian avatar Mar 01 '17 06:03 7ujian

Thank you for great suggestion and use case! It is interesting use case but it may takes long time to solve because UnpackTo is designed to support "Add-based" deserialization for collections.

yfakariya avatar Mar 04 '17 10:03 yfakariya