1

Is there a way dynamically test an object (message) to determine if it has been serialized via MsgPack in python?

1 Answer 1

1

No: there is no magic or version number out of the box.

As stated by msgpack's author you have to do it on your side if needed:

MessagePack itself doesn't provide versioning in the format because applications need to build a protocol or file format that includes version description on top of it if they need to be self-describing about its format strictly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.