XStream-like XML serialization for Jython objects? -


Jyothon is great for creating custom data structures on the required data base, but how to store your examples? Obviously it is possible to do this through java.io.Serializable , but objectstream are not human readable; I like XML.

I serialize a simple object created in Geethon and try to translate it into Java with the PyObject of __ tojava __ method. But, as a result, was expected, because of the huge use of reflection of Xstream (it all looks for Jethon's internal), there is much more confusion - and deserialization does not work (maybe that's the dynamic form of Jethon Proxy classes filled with or some other With the implementation details which I am not familiar with.)

Is there something for the Geethon objects - maybe a Jyothan library?

Apparently, Jyothon is not ideal for creating structure on required data Although this custom data is very good for processing , I ended up using DynaBeans to create data structures. They play fine with XStream and Jython.


Comments

Popular posts from this blog

ios - Form Sheet content disappearing -

MySql variables and php -

php - Laravel - Overriding a resource route into a different route filter group -