sigma / marshal.el

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

EIEIO marshalling, inspired by Go tagged structs.

alist, plist and json drivers are provided, but implementing others just requires to inherit from `marshal-driver'.

It's also possible to maintain a private drivers "namespace", by providing the :marshal-base-cls option to `marshal-defclass'.

This is particularly useful to maintain different "views" of the same object (potentially using the same driver) without having to register many drivers in the global space.

See inline documentation for examples.

About


Languages

Language:Emacs Lisp 99.3%Language:Makefile 0.7%