dukeboard / kevoree-modeling-framework

Kevoree Modeling Framework
http://kevoree.org/kmf
GNU Lesser General Public License v3.0
37 stars 7 forks source link

Common interface for all (de)serializers #19

Closed brice-morin closed 11 years ago

brice-morin commented 11 years ago

It would be good if all serializer (XMI, JSON) could implement the very same interface to make it easy for clients to switch serializer. The same goes for deserializer.

brice-morin commented 11 years ago

Also the JSON loader expects a FileInputStream, whereas it is possible to load XMI from a more generic InputStream...

gnain commented 11 years ago

Sounds legitimate. An interface will soon be provided, for loaders and serializers.

And ok for the loader parameter type more generic.

gnain commented 11 years ago

CLose by commit 402415dd699006d7e61178b748efaac2e7f43348