Skip to content

Provide an extensible mechanism for serializing across runtimes #7

@RutledgePaulV

Description

@RutledgePaulV

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions