[Zope-dev] z3c.schema2xml and z3c.schema2json

Jan-Wijbrand Kolman janwijbrand at gmail.com
Wed Nov 25 07:11:11 EST 2009


I'm about to work a bit on z3c.schema2json [1]. As has been briefly 
discussed before (a while ago [2]), z3c. schema2json is so similar to 
z3c.schema2xml [3] in what it does and how it does it, that I wonder 
about merging the two packages somehow.

One way to do this - maybe - is to use named registrations for the 
(de)serialization adapters. The name could reflect the serialization 
"mode" - for example "xml" or "json".

But maybe there're other ideas to achieve this? Or, could it be that 
merging has no real benefit?


[1] http://svn.zope.org/Sandbox/paulwilson/z3c.schema2json/
[2] https://mail.zope.org/pipermail/zope-dev/2009-June/037091.html
[3] http://svn.zope.org/z3c.schema2xml/

More information about the Zope-Dev mailing list