Because clojure itself is loaded in a separate classloader it means that non-primitives don't transmit across the class loader boundary in a consumable way. By providing a hook on the root and the runtime side I should be able to let users define their own serialize/parse hooks per data type if they need to send results back and forth. Minimally, this library could take care of it for core clojure data types.
An example of this problem can be seen in this:
(with-runtime runtime :dummy)
=> #object[clojure.lang.Keyword 0x6358bfef ":dummy"]
(keyword? (with-runtime runtime :dummy))
=> false
Because clojure itself is loaded in a separate classloader it means that non-primitives don't transmit across the class loader boundary in a consumable way. By providing a hook on the root and the runtime side I should be able to let users define their own serialize/parse hooks per data type if they need to send results back and forth. Minimally, this library could take care of it for core clojure data types.
An example of this problem can be seen in this: