Greets,

The Dump/Load methods, currently declared in Clownfish::Obj, are essentially a
custom human-readable serialization scheme needed by Lucy rather than
something which truly belongs in Clownfish.  Among other things, Dump and Load
have some serious implementation flaws. (For instance, any hash which contains
a key named "_class" will cause Hash_Load() to misbehave.)  If there are no
objections, I plan to move the Dump/Load functionality to Lucy::Util::Freezer
using the same techniques that were applied when moving serialize/deserialize.

As I've mentioned before, in the long term, I think both of Lucy's
serialization mechanisms should be consolidated to use the Apache Avro spec,
which supports selectable JSON and binary formats.  That migration will be
easier if we keep Dump/Load hidden in Lucy rather than exposed via Clownfish.

Marvin Humphrey

Reply via email to