Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

application/msgpack does not support java.util.Date #115

Open
tsaixingwei opened this issue May 10, 2020 · 0 comments
Open

application/msgpack does not support java.util.Date #115

tsaixingwei opened this issue May 10, 2020 · 0 comments

Comments

@tsaixingwei
Copy link

The application/msgpack format does not support packing and unpacking Clojure #inst or java.util.Date instances.

Test:

(->> #inst"2008-05-10T00:00:00.000-00:00"
     (m/encode m "application/msgpack")
     (m/decode m "application/msgpack"))

produces an Exception:

Syntax error (IllegalArgumentException) compiling at (test_jms_msgpack.clj:61:1).
No implementation of method: :packable-pack of protocol: #'msgpack.core/Packable found for class: java.util.Date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant