-
Hi Travis,
the filter is not a good solution. You have right, it doesn't work with nested object.
But I think, the transient fields is not a good solution too. You can not convert DefaultMutableTreeNode("Main"), because the userObject ("Main") is transient.
This was a request...
2009-11-19 15:08:53 UTC in Simplify Old Java Objects
-
Hi Travis,
today, SOJO support filter:
Serializer serializer = new JsonSerializer();
Object result = serializer.serialize(aObject, new String[] {"inputStream"});
Is this a good solution? Or is your solution better?
What do you mean?
best regard
Mario.
2009-11-18 20:48:29 UTC in Simplify Old Java Objects
-
Hi Travis,
this is a difficult question.
* Annotation: disadvantage, than is the code dependent from SOJO
* transient: disadvantage, it is for all objects from this Class
* filter?: http://sojo.sourceforge.net/guide/user/object-filter.html
disadvantage: not easy to use
* other solution?
What is the best solution?.
2009-11-17 12:29:11 UTC in Simplify Old Java Objects
-
linkemario committed revision 257 to the Simplify Old Java Objects SVN repository, changing 1 files.
2009-07-14 15:41:46 UTC in Simplify Old Java Objects
-
Hi Kai,
sorry, but what do you mean?
Can you send me an example?
best regards
Mario.
2009-06-23 14:39:14 UTC in Simplify Old Java Objects