Am 23.07.2013 um 14:23 schrieb "jtuchel@objektfabrik.de" <jtuchel@objektfabrik.de>:
Norbert,
Am 23.07.13 14:07, schrieb Norbert Hartl:
Joachim,
I'm aware that you can do serialization/deserialization yourself. I was asking for something to help along the way because a have quite some model classes to cover. I want a more generalized way of doing it. As often I really think about things _after_ I've sent the mail :)
We seem to have a lot in common here. Regard it this way: sending the mail made you think again. So the mail itself was all but useless.
I think I have to options:
1. The most generic one is serializing into Fuel and compile the ByteArray in a method. 2. The most readable one will be using STON and compiling the STON string into a method
Maybe I should try both. I'd be very interested in what you find. I guess Fuel is smaller and maybe even faster. STON, OTOH, is much friendlier for comparing versions and such.
Well, the first test froze (hot freeze taking 100% CPU) my image. The model serialized to Fuel is > 280Kb and clicking anywhere in the image that might show the code of the compiled method just makes the image unresponsive. :) I'll report further findings, Norbert