Hi all,
I use BeanMorpher to get classes from JSON, all works Ok, but each time I
get this message:
Property 'MyClass.class' has no write method. SKIPPED.
As I use this frequently, the log is full with these.
Any idea what I must do to avoid this? I understand that some setter is
expected, but which one??
Here is the code:
Morpher myMorpher = new BeanMorpher( MyClass.class,morpherRegistry);
morpherRegistry.registerMorpher(myMorpher);
MyClass.class = (MyClass)morpherRegistry.morph(MyClass.class,json);
Thanks in advance,
Kiril.
|